LightingRenderModule
class LightingRenderModule : public cauldron::RenderModuleThe lighting render module is responsible rendering deferred lighting from the gbuffer information.
Inherits from: public cauldron::RenderModule
Public Interface
Constructor:
LightingRenderModule
inline LightingRenderModule()Construction.
Attributes: inline
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 55, column 5)
Destructor:
~LightingRenderModule
virtual ~LightingRenderModule()Destruction.
Attributes: virtual
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 60, column 13)
Public Functions:
Init
virtual void Init(const json &initData) overrideInitialization function. Sets up resource pointers, pipeline objects, root signatures, and parameter sets.
Parameters:
| Name | Type | Default |
|---|---|---|
initData | const json & | “ |
Attributes: virtual
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 65, column 10)
Execute
virtual void Execute(double deltaTime, cauldron::CommandList *pCmdList) overridePerforms deferred lighting pass if enabled.
Parameters:
| Name | Type | Default |
|---|---|---|
deltaTime | double | “ |
pCmdList | cauldron::CommandList * | “ |
Attributes: virtual
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 70, column 10)
Private Interface
Private Members:
cauldron::RootSignature * m_pRootSignature
cauldron::RootSignature * m_pRootSignature = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 74, column 32)
cauldron::PipelineObject * m_pPipelineObj
cauldron::PipelineObject * m_pPipelineObj = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 75, column 32)
const cauldron::Texture * m_pRenderTarget
const cauldron::Texture * m_pRenderTarget = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 76, column 32)
const cauldron::Texture * m_pDiffuseTexture
const cauldron::Texture * m_pDiffuseTexture = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 77, column 32)
const cauldron::Texture * m_pNormalTexture
const cauldron::Texture * m_pNormalTexture = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 78, column 32)
const cauldron::Texture * m_pAoRoughnessMetallicTexture
const cauldron::Texture * m_pAoRoughnessMetallicTexture = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 79, column 32)
const cauldron::Texture * m_pDepthTexture
const cauldron::Texture * m_pDepthTexture = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 80, column 32)
cauldron::ParameterSet * m_pParameters
cauldron::ParameterSet * m_pParameters = = nullptrAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 81, column 32)
uint32_t m_ShadowMapCount
uint32_t m_ShadowMapCount = = 0Attributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 83, column 25)
LightingCBData m_LightingConstantData
LightingCBData m_LightingConstantDataAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 86, column 20)
float m_IBLFactor
float m_IBLFactorAttributes: private
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 88, column 11)
Used By: CacaoSample
Source: framework/rendermodules/lighting/lightingrendermodule.h (line 48, column 1)