Skip to content

LiteFX::Rendering::IDescriptorLayout::descriptors

Returns the number of descriptors in the descriptor array.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

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