Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorSet::DirectX12DescriptorSet

Initializes a new descriptor set.

Synopses

Declared in <litefx/backends/dx12.hpp>

Copy constructor

DirectX12DescriptorSet(DirectX12DescriptorSet const& other) = delete;

» more...

Move constructor

DirectX12DescriptorSet(DirectX12DescriptorSet&& other) noexcept = delete;

» more...

Initializes a new descriptor set.

[[dllimport, dllexport]] explicit DirectX12DescriptorSet(
    DirectX12DescriptorSetLayout const& layout,
    ComPtr<ID3D12DescriptorHeap>&& resourceHeap = nullptr,
    ComPtr<ID3D12DescriptorHeap>&& samplerHeap = nullptr);

» more...

Parameters

NameDescription
layoutThe parent descriptor set layout.
resourceHeapA CPU-visible descriptor heap that contains the descriptors for the resources of the descriptor set.
samplerHeapA CPU-visible descriptor heap that contains the descriptors for the samplers of the descriptor set.