Class D3D12ScopedRenderPass¶
- Defined in File D3D12ScopedRenderPass.h
Class Documentation¶
-
class
D3D12ScopedRenderPass
¶ Public Functions
-
D3D12ScopedRenderPass
(U32 idx, U32 internalId, const D3D12ScopedSwapChain &swapChain, Memory::Allocator &mainAllocator, Log logger)¶
-
void
Create
(const Microsoft::WRL::ComPtr<ID3D12Device> &device, const PipelinePassCreateInfo &createInfo, const Containers::Vector<RenderTargetCreateInfo> &pipelineBuffers, const Containers::Vector<D3D12ScopedImage> &pipelineBufferImages, const Containers::Vector<DescriptorSlot> &descriptorSlots, const Containers::Vector<DescriptorTableEntry> &descriptorSetTable, const Containers::Vector<D3D12ScopedShader> &allShaders, UINT rtvDescriptorSize, UINT dsvDescriptorSize)¶
-
void
CreateForSwapChain
(const Microsoft::WRL::ComPtr<ID3D12Device> &device, const PipelinePassCreateInfo &createInfo, const Containers::Vector<RenderTargetCreateInfo> &pipelineBuffers, const Containers::Vector<D3D12ScopedImage> &pipelineBufferImages, const D3D12ScopedImage &depthImage, const Containers::Vector<DescriptorSlot> &descriptorSlots, const Containers::Vector<DescriptorTableEntry> &descriptorSetTable, const Containers::Vector<D3D12ScopedShader> &allShaders, UINT rtvDescriptorSize, UINT dsvDescriptorSize)¶
-
U32
GetId
() const¶
-
U32
GetInternalId
() const¶
-
ID3D12GraphicsCommandList *
GetPrimaryGraphicsCommandList
(U32 idx) const¶
-
const DescriptorCount &
GetDescriptorCount
() const¶
-
ID3D12RootSignature *
GetRootSignature
() const¶
-
void
RecordImageAcquireBarrier
(ID3D12GraphicsCommandList *commandList, U32 idx) const¶
-
void
RecordPresentBarrier
(ID3D12GraphicsCommandList *commandList, U32 idx) const¶
-
void
SetRenderTargets
(ID3D12GraphicsCommandList *commandList, U32 cBufferIdx, UINT rtvDescriptorSize) const¶
-
const Containers::Vector<std::reference_wrapper<const D3D12ScopedShader>> &
GetShaders
() const¶
-
const Vector<std::reference_wrapper<const RenderTargetCreateInfo>> &
GetInputInfo
() const¶
-
const Vector<std::reference_wrapper<const D3D12ScopedImage>> &
GetInputImages
() const¶
-
const Containers::Vector<DescriptorTableEntry> &
GetRootSignatureTable
() const¶
-
void
RecordResourceBarriersForOutputsStart
(ID3D12GraphicsCommandList *commandList) const¶
-
void
RecordResourceBarriersForOutputsEnd
(ID3D12GraphicsCommandList *commandList) const¶
-
void
RecordResourceBarriersForInputsStart
(ID3D12GraphicsCommandList *commandList) const¶
-
void
RecordResourceBarriersForInputsEnd
(ID3D12GraphicsCommandList *commandList) const¶
-
void
RecordResourceBarriersForWritingInputs
(ID3D12GraphicsCommandList *commandList) const¶
-
void
WaitForGPU
(ID3D12CommandQueue *commandQueue)¶
-
U32
GetCommandBufferCount
() const¶
-
void
UpdatePipelineInfo
(D3D12_GRAPHICS_PIPELINE_STATE_DESC &psoDesc)¶
-