7 #include <Utils/DebugUtils.h> 21 static void Init() noexcept;
35 static D3D12_GPU_DESCRIPTOR_HANDLE CreateRenderTargetView(ID3D12Resource& resource,
36 const D3D12_RENDER_TARGET_VIEW_DESC& descriptor,
37 D3D12_CPU_DESCRIPTOR_HANDLE* firstViewCpuDescriptorHandle =
nullptr) noexcept;
43 static D3D12_GPU_DESCRIPTOR_HANDLE CreateRenderTargetViews(ID3D12Resource* *resources,
44 const D3D12_RENDER_TARGET_VIEW_DESC* descriptors,
45 const std::uint32_t descriptorCount,
46 D3D12_CPU_DESCRIPTOR_HANDLE* firstViewCpuDescriptorHandle =
nullptr) noexcept;
49 static Microsoft::WRL::ComPtr<ID3D12DescriptorHeap> mRenderTargetViewDescriptorHeap;
51 static D3D12_GPU_DESCRIPTOR_HANDLE mCurrentRenderTargetViewDescriptorHandle;
52 static D3D12_CPU_DESCRIPTOR_HANDLE mCurrentRenderTargetViewCpuDescriptorHandle;
54 static std::mutex mMutex;
Definition: RenderTargetDescriptorManager.h:12