Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
IShaderSource Class Reference

#include <shader.h>

+ Inheritance diagram for IShaderSource:

Public Member Functions

 IShaderSource ()=default
 
virtual ~IShaderSource ()=default
 
virtual u32 getShaderIdDirect (const std::string &name, MaterialType material_type, NodeDrawType drawtype=NDT_NORMAL)
 
virtual ShaderInfo getShaderInfo (u32 id)
 
virtual u32 getShader (const std::string &name, MaterialType material_type, NodeDrawType drawtype=NDT_NORMAL)
 

Constructor & Destructor Documentation

◆ IShaderSource()

IShaderSource::IShaderSource ( )
default

◆ ~IShaderSource()

virtual IShaderSource::~IShaderSource ( )
virtualdefault

Member Function Documentation

◆ getShader()

virtual u32 IShaderSource::getShader ( const std::string & name,
MaterialType material_type,
NodeDrawType drawtype = NDT_NORMAL )
inlinevirtual

Reimplemented in ShaderSource.

Referenced by Clouds::Clouds(), Hud::Hud(), Sky::Sky(), GenericCAO::addToScene(), Minimap::drawMinimap(), ClientMap::renderMapShadows(), and WieldMeshSceneNode::setItem().

+ Here is the caller graph for this function:

◆ getShaderIdDirect()

virtual u32 IShaderSource::getShaderIdDirect ( const std::string & name,
MaterialType material_type,
NodeDrawType drawtype = NDT_NORMAL )
inlinevirtual

Reimplemented in ShaderSource.

◆ getShaderInfo()

virtual ShaderInfo IShaderSource::getShaderInfo ( u32 id)
inlinevirtual

Reimplemented in ShaderSource.

Referenced by Clouds::Clouds(), Hud::Hud(), MapBlockMesh::MapBlockMesh(), Sky::Sky(), GenericCAO::addToScene(), Minimap::drawMinimap(), PostProcessingStep::run(), and WieldMeshSceneNode::setItem().

+ Here is the caller graph for this function:

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