Luanti 5.10.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_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, translucent_liquids, 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 readSettings().

◆ connected_glass

bool TextureSettings::connected_glass

Referenced by readSettings().

◆ enable_mesh_cache

bool TextureSettings::enable_mesh_cache

Referenced by readSettings().

◆ enable_minimap

bool TextureSettings::enable_minimap

Referenced by readSettings().

◆ leaves_style

LeavesStyle TextureSettings::leaves_style

Referenced by readSettings().

◆ node_texture_size

int TextureSettings::node_texture_size

Referenced by readSettings().

◆ translucent_liquids

bool TextureSettings::translucent_liquids

Referenced by readSettings().

◆ world_aligned_mode

WorldAlignMode TextureSettings::world_aligned_mode

Referenced by readSettings().


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