Inheritance diagram for MainShaderUniformSetter:
Collaboration diagram for MainShaderUniformSetter:Public Member Functions | |
| ~MainShaderUniformSetter ()=default | |
| virtual void | onSetMaterial (const video::SMaterial &material) override |
| virtual void | onSetUniforms (video::IMaterialRendererServices *services) override |
| Called when uniforms need to be updated. | |
Public Member Functions inherited from IShaderUniformSetter | |
| virtual | ~IShaderUniformSetter ()=default |
Private Types | |
| using | SamplerLayer_t = s32 |
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"} |
| CachedPixelShaderSetting< SamplerLayer_t > | m_texture0 {"texture0"} |
| CachedPixelShaderSetting< SamplerLayer_t > | m_texture1 {"texture1"} |
| CachedPixelShaderSetting< SamplerLayer_t > | m_texture2 {"texture2"} |
| CachedPixelShaderSetting< SamplerLayer_t > | m_texture3 {"texture3"} |
| video::SColor | m_material_color |
| CachedPixelShaderSetting< float, 4 > | m_material_color_setting {"materialColor"} |
|
private |
|
default |
|
inlineoverridevirtual |
Reimplemented from IShaderUniformSetter.
References m_material_color.
|
inlineoverridevirtual |
Called when uniforms need to be updated.
| services | interface for setting uniforms |
Implements IShaderUniformSetter.
References m_material_color, m_material_color_setting, m_texture, m_texture0, m_texture1, m_texture2, m_texture3, m_world, m_world_view, m_world_view_proj, and CachedShaderSetting< T, count, cache >::set().
Here is the call graph for this function:
|
private |
Referenced by onSetMaterial(), and onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().
|
private |
Referenced by onSetUniforms().