3 #include <DirectXMath.h> 5 #include <CommandManager\CommandListPerFrame.h> 6 #include <MathUtils\MathUtils.h> 7 #include <ResourceManager\FrameUploadCBufferPerFrame.h> 8 #include <ResourceManager/VertexAndIndexBufferCreator.h> 10 struct D3D12_CPU_DESCRIPTOR_HANDLE;
11 struct D3D12_GPU_DESCRIPTOR_HANDLE;
12 struct ID3D12CommandAllocator;
13 struct ID3D12Resource;
14 struct ID3D12GraphicsCommandList;
28 static void InitSharedPSOAndRootSignature() noexcept;
34 const DirectX::XMFLOAT4X4& worldMatrix,
35 ID3D12Resource& skyBoxCubeMap,
36 const D3D12_CPU_DESCRIPTOR_HANDLE& renderTargetView,
37 const D3D12_CPU_DESCRIPTOR_HANDLE& depthBufferView) noexcept;
41 void RecordAndPushCommandLists(
const FrameCBuffer& frameCBuffer) noexcept;
43 bool IsDataValid()
const noexcept;
46 void InitConstantBuffers(
const DirectX::XMFLOAT4X4& worldMatrix) noexcept;
47 void InitShaderResourceViews(ID3D12Resource& skyBoxCubeMap) noexcept;
57 D3D12_GPU_DESCRIPTOR_HANDLE mObjectCBufferView;
59 D3D12_GPU_DESCRIPTOR_HANDLE mStartPixelShaderResourceView;
61 D3D12_CPU_DESCRIPTOR_HANDLE mRenderTargetView{ 0UL };
62 D3D12_CPU_DESCRIPTOR_HANDLE mDepthBufferView{ 0UL };
Definition: VertexAndIndexBufferCreator.h:53
Definition: FrameUploadCBufferPerFrame.h:11
Definition: CBuffers.h:23
Definition: VertexAndIndexBufferCreator.h:36
Definition: CommandListPerFrame.h:16
Definition: UploadBuffer.h:9
Definition: SkyBoxCmdListRecorder.h:19