Skip to content

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

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.