Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
IWritableShaderSource Class Referenceabstract

#include <shader.h>

+ Inheritance diagram for IWritableShaderSource:
+ Collaboration diagram for IWritableShaderSource:

Public Member Functions

 IWritableShaderSource ()=default
 
virtual ~IWritableShaderSource ()=default
 
virtual void processQueue ()=0
 
virtual void insertSourceShader (const std::string &name_of_shader, const std::string &filename, const std::string &program)=0
 
virtual void rebuildShaders ()=0
 
virtual void addShaderConstantSetterFactory (IShaderConstantSetterFactory *setter)=0
 
- Public Member Functions inherited from IShaderSource
 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

◆ IWritableShaderSource()

IWritableShaderSource::IWritableShaderSource ( )
default

◆ ~IWritableShaderSource()

virtual IWritableShaderSource::~IWritableShaderSource ( )
virtualdefault

Member Function Documentation

◆ addShaderConstantSetterFactory()

virtual void IWritableShaderSource::addShaderConstantSetterFactory ( IShaderConstantSetterFactory * setter)
pure virtual
Note
Takes ownership of setter.

Implemented in ShaderSource.

Referenced by Game::createClient(), and ShadowRenderer::preInit().

+ Here is the caller graph for this function:

◆ insertSourceShader()

virtual void IWritableShaderSource::insertSourceShader ( const std::string & name_of_shader,
const std::string & filename,
const std::string & program )
pure virtual

Implemented in ShaderSource.

◆ processQueue()

virtual void IWritableShaderSource::processQueue ( )
pure virtual

Implemented in ShaderSource.

Referenced by Game::processQueues(), and Game::shutdown().

+ Here is the caller graph for this function:

◆ rebuildShaders()

virtual void IWritableShaderSource::rebuildShaders ( )
pure virtual

Implemented in ShaderSource.

Referenced by Client::afterContentReceived().

+ Here is the caller graph for this function:

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