Public Member Functions | |
~MainShaderConstantSetter ()=default | |
virtual void | onSetMaterial (const video::SMaterial &material) override |
virtual void | onSetConstants (video::IMaterialRendererServices *services) override |
Public Member Functions inherited from IShaderConstantSetter | |
virtual | ~IShaderConstantSetter ()=default |
Private Attributes | |
CachedVertexShaderSetting< f32, 16 > | m_world_view_proj {"mWorldViewProj"} |
CachedVertexShaderSetting< f32, 16 > | m_world {"mWorld"} |
CachedVertexShaderSetting< float, 16 > | m_world_view {"mWorldView"} |
CachedVertexShaderSetting< float, 16 > | m_texture {"mTexture"} |
video::SColor | m_material_color |
CachedPixelShaderSetting< float, 4 > | m_material_color_setting {"materialColor"} |
|
default |
|
inlineoverridevirtual |
Implements IShaderConstantSetter.
References m_material_color, m_material_color_setting, m_texture, m_world, m_world_view, m_world_view_proj, and CachedShaderSetting< T, count, cache >::set().
|
inlineoverridevirtual |
Reimplemented from IShaderConstantSetter.
References m_material_color.
|
private |
Referenced by onSetConstants(), and onSetMaterial().
|
private |
Referenced by onSetConstants().
|
private |
Referenced by onSetConstants().
|
private |
Referenced by onSetConstants().
|
private |
Referenced by onSetConstants().
|
private |
Referenced by onSetConstants().