Skip to content

LiteFX::Rendering::Backends::DirectX12DescriptorLayout::descriptors

Returns the number of descriptors in the descriptor array.

Synopsis

Declared in <litefx/backends/dx12.hpp>

[[dllimport, dllexport]] virtual UInt32 descriptors() const noexcept override;

Description

If unbounded is set to true, the number of descriptors is not part of the layout. Instead, it is specified when allocating a descriptor set, and only limited by the capacity of the global descriptor heap.

Return Value

The number of descriptors in the descriptor array.

See Also

IDescriptorLayout