6 #include <EnvironmentLightPass\AmbientOcclusionCmdListRecorder.h> 7 #include <EnvironmentLightPass\BlurCmdListRecorder.h> 8 #include <EnvironmentLightPass\EnvironmentLightCmdListRecorder.h> 9 #include <CommandManager\CommandListPerFrame.h> 11 struct D3D12_CPU_DESCRIPTOR_HANDLE;
12 struct ID3D12Resource;
25 void Init(ID3D12Resource& baseColorMetalMaskBuffer,
26 ID3D12Resource& normalSmoothnessBuffer,
27 ID3D12Resource& depthBuffer,
28 ID3D12Resource& diffuseIrradianceCubeMap,
29 ID3D12Resource& specularPreConvolvedCubeMap,
30 const D3D12_CPU_DESCRIPTOR_HANDLE& renderTargetView) noexcept;
37 bool ValidateData()
const noexcept;
39 void ExecuteBeginTask() noexcept;
40 void ExecuteMiddleTask() noexcept;
41 void ExecuteFinalTask() noexcept;
47 Microsoft::WRL::ComPtr<ID3D12Resource> mAmbientAccessibilityBuffer;
48 D3D12_CPU_DESCRIPTOR_HANDLE mAmbientAccessibilityBufferRenderTargetView{ 0UL };
50 Microsoft::WRL::ComPtr<ID3D12Resource> mBlurBuffer;
52 std::unique_ptr<AmbientOcclusionCmdListRecorder> mAmbientOcclusionRecorder;
53 std::unique_ptr<BlurCmdListRecorder> mBlurRecorder;
54 std::unique_ptr<EnvironmentLightCmdListRecorder> mEnvironmentLightRecorder;
Definition: CBuffers.h:23
Definition: CommandListPerFrame.h:16
Definition: EnvironmentLightPass.h:16