Minetest  5.4.0
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 opaque_water
 
bool connected_glass
 
bool enable_mesh_cache
 
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_mesh_cache, enable_minimap, g_settings, Settings::get(), Settings::getBool(), Settings::getU16(), LEAVES_FANCY, LEAVES_OPAQUE, LEAVES_SIMPLE, leaves_style, node_texture_size, opaque_water, world_aligned_mode, WORLDALIGN_DISABLE, WORLDALIGN_ENABLE, WORLDALIGN_FORCE, and WORLDALIGN_FORCE_NODEBOX.

Referenced by NodeDefManager::updateTextures().

+ 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 fillTileAttribs(), and readSettings().

◆ connected_glass

bool TextureSettings::connected_glass

◆ enable_mesh_cache

bool TextureSettings::enable_mesh_cache

◆ enable_minimap

bool TextureSettings::enable_minimap

◆ leaves_style

LeavesStyle TextureSettings::leaves_style

◆ node_texture_size

int TextureSettings::node_texture_size

Referenced by fillTileAttribs(), and readSettings().

◆ opaque_water

bool TextureSettings::opaque_water

◆ world_aligned_mode

WorldAlignMode TextureSettings::world_aligned_mode

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