Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ShaderCallback Class Reference
+ Inheritance diagram for ShaderCallback:
+ Collaboration diagram for ShaderCallback:

Public Member Functions

template<typename Factories >
 ShaderCallback (const Factories &factories)
 
virtual void OnSetConstants (video::IMaterialRendererServices *services, s32 userData) override
 
virtual void OnSetMaterial (const video::SMaterial &material) override
 

Private Attributes

std::vector< std::unique_ptr< IShaderConstantSetter > > m_setters
 

Constructor & Destructor Documentation

◆ ShaderCallback()

template<typename Factories >
ShaderCallback::ShaderCallback ( const Factories & factories)
inline

References m_setters.

Member Function Documentation

◆ OnSetConstants()

virtual void ShaderCallback::OnSetConstants ( video::IMaterialRendererServices * services,
s32 userData )
inlineoverridevirtual

References m_setters.

◆ OnSetMaterial()

virtual void ShaderCallback::OnSetMaterial ( const video::SMaterial & material)
inlineoverridevirtual

References m_setters.

Member Data Documentation

◆ m_setters

std::vector<std::unique_ptr<IShaderConstantSetter> > ShaderCallback::m_setters
private

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