Public Member Functions | |
void | onSetConstants (video::IMaterialRendererServices *services) override |
Public Member Functions inherited from IShaderConstantSetter | |
virtual | ~IShaderConstantSetter ()=default |
virtual void | onSetMaterial (const video::SMaterial &material) |
Private Attributes | |
CachedPixelShaderSetting< float, 4 > | m_fog_color {"fogColor"} |
CachedPixelShaderSetting< float > | m_fog_distance {"fogDistance"} |
CachedPixelShaderSetting< float > | m_fog_shading_parameter {"fogShadingParameter"} |
|
inlineoverridevirtual |
Implements IShaderConstantSetter.
References m_fog_color, m_fog_distance, m_fog_shading_parameter, and CachedShaderSetting< T, count, cache >::set().
|
private |
Referenced by onSetConstants().
|
private |
Referenced by onSetConstants().
|
private |
Referenced by onSetConstants().