3 #include <DirectXMath.h> 6 #include <CommandManager\CommandListPerFrame.h> 7 #include <ResourceManager\FrameUploadCBufferPerFrame.h> 9 struct D3D12_CPU_DESCRIPTOR_HANDLE;
10 struct ID3D12Resource;
26 static void InitSharedPSOAndRootSignature() noexcept;
30 void Init(ID3D12Resource& normalSmoothnessBuffer,
31 ID3D12Resource& depthBuffer,
32 const D3D12_CPU_DESCRIPTOR_HANDLE& renderTargetView) noexcept;
36 void RecordAndPushCommandLists(
const FrameCBuffer& frameCBuffer) noexcept;
38 bool ValidateData()
const noexcept;
41 void CreateSampleKernelBuffer(
const std::vector<DirectX::XMFLOAT4>& sampleKernel) noexcept;
42 ID3D12Resource* CreateAndGetNoiseTexture(
const std::vector<DirectX::XMFLOAT4>& noiseVector) noexcept;
43 void InitShaderResourceViews(ID3D12Resource& normalSmoothnessBuffer,
44 ID3D12Resource& depthBuffer,
45 ID3D12Resource& noiseTexture,
46 const std::uint32_t sampleKernelSize) noexcept;
54 D3D12_CPU_DESCRIPTOR_HANDLE mRenderTargetView{ 0UL };
56 D3D12_GPU_DESCRIPTOR_HANDLE mStartPixelShaderResourceView{ 0UL };
Definition: AmbientOcclusionCmdListRecorder.h:17
Definition: FrameUploadCBufferPerFrame.h:11
Definition: CBuffers.h:23
Definition: CommandListPerFrame.h:16
Definition: UploadBuffer.h:9