Luanti 5.15.0-dev
 
Loading...
Searching...
No Matches
ShadowScreenQuadUniformSetter Class Reference

#include <shadowsScreenQuad.h>

+ Inheritance diagram for ShadowScreenQuadUniformSetter:
+ Collaboration diagram for ShadowScreenQuadUniformSetter:

Public Member Functions

virtual void onSetUniforms (video::IMaterialRendererServices *services) override
 Called when uniforms need to be updated.
 
- Public Member Functions inherited from IShaderUniformSetter
virtual ~IShaderUniformSetter ()=default
 
virtual void onSetMaterial (const video::SMaterial &material)
 

Private Attributes

CachedPixelShaderSetting< s32 > m_sm_client_map_setting {"ShadowMapClientMap"}
 
CachedPixelShaderSetting< s32 > m_sm_client_map_trans_setting {"ShadowMapClientMapTraslucent"}
 
CachedPixelShaderSetting< s32 > m_sm_dynamic_sampler_setting {"ShadowMapSamplerdynamic"}
 

Member Function Documentation

◆ onSetUniforms()

void ShadowScreenQuadUniformSetter::onSetUniforms ( video::IMaterialRendererServices * services)
overridevirtual

Called when uniforms need to be updated.

Parameters
servicesinterface for setting uniforms

Implements IShaderUniformSetter.

References m_sm_client_map_setting, m_sm_client_map_trans_setting, m_sm_dynamic_sampler_setting, and CachedShaderSetting< T, count, cache >::set().

+ Here is the call graph for this function:

Member Data Documentation

◆ m_sm_client_map_setting

CachedPixelShaderSetting<s32> ShadowScreenQuadUniformSetter::m_sm_client_map_setting {"ShadowMapClientMap"}
private

Referenced by onSetUniforms().

◆ m_sm_client_map_trans_setting

CachedPixelShaderSetting<s32> ShadowScreenQuadUniformSetter::m_sm_client_map_trans_setting {"ShadowMapClientMapTraslucent"}
private

Referenced by onSetUniforms().

◆ m_sm_dynamic_sampler_setting

CachedPixelShaderSetting<s32> ShadowScreenQuadUniformSetter::m_sm_dynamic_sampler_setting {"ShadowMapSamplerdynamic"}
private

Referenced by onSetUniforms().


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