LiteFX::Rendering::Backends::DirectX12DescriptorSet::DirectX12DescriptorSet¶
Initializes a new descriptor set.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
[[dllimport, dllexport]] explicit DirectX12DescriptorSet(
DirectX12DescriptorSetLayout const& layout,
ComPtr<ID3D12DescriptorHeap>&& resourceHeap = nullptr,
ComPtr<ID3D12DescriptorHeap>&& samplerHeap = nullptr);
Parameters¶
| Name | Description |
|---|---|
| layout | The parent descriptor set layout. |
| resourceHeap | A CPU-visible descriptor heap that contains the descriptors for the resources of the descriptor set. |
| samplerHeap | A CPU-visible descriptor heap that contains the descriptors for the samplers of the descriptor set. |