Luanti 5.16.0-dev
Loading...
Searching...
No Matches
TextureSettings Class Reference

#include <nodedef.h>

Public Member Functions

 TextureSettings ()=default
void readSettings ()

Public Attributes

LeavesStyle leaves_style
WorldAlignMode world_aligned_mode
AutoScale autoscale_mode
int node_texture_size
bool translucent_liquids
bool connected_glass
bool enable_minimap

Constructor & Destructor Documentation

◆ TextureSettings()

TextureSettings::TextureSettings ( )
default

Member Function Documentation

◆ readSettings()

void TextureSettings::readSettings ( )

References AUTOSCALE_DISABLE, AUTOSCALE_ENABLE, AUTOSCALE_FORCE, autoscale_mode, connected_glass, enable_minimap, g_settings, LEAVES_FANCY, LEAVES_OPAQUE, LEAVES_SIMPLE, leaves_style, node_texture_size, rangelim(), TEXTURE_FILTER_MIN_SIZE, translucent_liquids, world_aligned_mode, WORLDALIGN_DISABLE, WORLDALIGN_ENABLE, WORLDALIGN_FORCE, and WORLDALIGN_FORCE_NODEBOX.

Referenced by NodeVisuals::fillNodeVisuals().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ autoscale_mode

AutoScale TextureSettings::autoscale_mode

Referenced by readSettings().

◆ connected_glass

bool TextureSettings::connected_glass

◆ enable_minimap

bool TextureSettings::enable_minimap

◆ leaves_style

◆ node_texture_size

int TextureSettings::node_texture_size

Referenced by readSettings().

◆ translucent_liquids

bool TextureSettings::translucent_liquids

◆ world_aligned_mode

WorldAlignMode TextureSettings::world_aligned_mode

The documentation for this class was generated from the following files: