Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
node_visuals.h File Reference
#include <unordered_set>
#include "nodedef.h"
#include "tile.h"
+ Include dependency graph for node_visuals.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  NodeVisuals
 

Namespaces

namespace  scene
 

Functions

static MaterialType alpha_mode_to_material_type (AlphaMode mode)
 get fitting material type for an alpha mode
 

Function Documentation

◆ alpha_mode_to_material_type()

static MaterialType alpha_mode_to_material_type ( AlphaMode mode)
inlinestatic

get fitting material type for an alpha mode

References ALPHAMODE_BLEND, ALPHAMODE_CLIP, ALPHAMODE_OPAQUE, TILE_MATERIAL_ALPHA, TILE_MATERIAL_BASIC, and TILE_MATERIAL_OPAQUE.

Referenced by getAdHocNodeShader(), and NodeVisuals::updateTextures().

+ Here is the caller graph for this function: