LightingRenderModule
class LightingRenderModule : public cauldron::RenderModule光照渲染模块负责从 gbuffer 信息渲染延迟光照。
继承自: public cauldron::RenderModule
公共接口
构造函数
LightingRenderModule
inline LightingRenderModule()构造。
属性: inline
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 55 行,第 5 列)
析构函数
~LightingRenderModule
virtual ~LightingRenderModule()销毁。
属性: virtual
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 60 行,第 13 列)
公共函数
初始化
virtual void Init(const json &initData) override初始化函数。设置资源指针、管道对象、根签名和参数集。
参数
| 名称 | 类型 | 默认 |
|---|---|---|
initData | const json & | “ |
属性: virtual
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 65 行,第 10 列)
执行
virtual void Execute(double deltaTime, cauldron::CommandList *pCmdList) override如果启用,则执行延迟光照通道。
参数
| 名称 | 类型 | 默认 |
|---|---|---|
deltaTime | double | “ |
pCmdList | cauldron::CommandList * | “ |
属性: virtual
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 70 行,第 10 列)
私有接口
私有成员
cauldron::RootSignature * m_pRootSignature
cauldron::RootSignature * m_pRootSignature = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 74 行,第 32 列)
cauldron::PipelineObject * m_pPipelineObj
cauldron::PipelineObject * m_pPipelineObj = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 75 行,第 32 列)
const cauldron::Texture * m_pRenderTarget
const cauldron::Texture * m_pRenderTarget = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 76 行,第 32 列)
const cauldron::Texture * m_pDiffuseTexture
const cauldron::Texture * m_pDiffuseTexture = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 77 行,第 32 列)
const cauldron::Texture * m_pNormalTexture
const cauldron::Texture * m_pNormalTexture = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 78 行,第 32 列)
const cauldron::Texture * m_pAoRoughnessMetallicTexture
const cauldron::Texture * m_pAoRoughnessMetallicTexture = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 79 行,第 32 列)
const cauldron::Texture * m_pDepthTexture
const cauldron::Texture * m_pDepthTexture = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 80 行,第 32 列)
cauldron::ParameterSet * m_pParameters
cauldron::ParameterSet * m_pParameters = = nullptr属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 81 行,第 32 列)
uint32_t m_ShadowMapCount
uint32_t m_ShadowMapCount = = 0属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 83 行,第 25 列)
LightingCBData m_LightingConstantData
LightingCBData m_LightingConstantData属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 86 行,第 20 列)
float m_IBLFactor
float m_IBLFactor属性: private
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 88 行,第 11 列)
被使用于: CacaoSample
来源: framework/rendermodules/lighting/lightingrendermodule.h (第 48 行,第 1 列)