7 #include <EnvironmentLightPass\EnvironmentLightPass.h> 8 #include <CommandManager\CommandListPerFrame.h> 10 struct D3D12_CPU_DESCRIPTOR_HANDLE;
12 struct ID3D12Resource;
30 void Init(ID3D12Resource& baseColorMetalMaskBuffer,
31 ID3D12Resource& normalSmoothnessBuffer,
32 ID3D12Resource& depthBuffer,
33 ID3D12Resource& diffuseIrradianceCubeMap,
34 ID3D12Resource& specularPreConvolvedCubeMap,
35 const D3D12_CPU_DESCRIPTOR_HANDLE& renderTargetView) noexcept;
43 bool IsDataValid()
const noexcept;
45 void ExecuteBeginTask() noexcept;
46 void ExecuteFinalTask() noexcept;
52 Microsoft::WRL::ComPtr<ID3D12Resource>* mGeometryBuffers;
54 ID3D12Resource* mBaseColorMetalMaskBuffer{
nullptr };
55 ID3D12Resource* mNormalSmoothnessBuffer{
nullptr };
56 ID3D12Resource* mDepthBuffer{
nullptr };
58 D3D12_CPU_DESCRIPTOR_HANDLE mRenderTargetView{ 0UL };
Definition: LightingPass.h:18
Definition: CBuffers.h:23
Definition: CommandListPerFrame.h:16
Definition: EnvironmentLightPass.h:16