Skip to content

LiteFX::Rendering::DescriptorAllocationLayout::descriptorCount

returns the number of descriptors that must be allocated on heap.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] UInt32 descriptorCount(
    DescriptorHeapType heap,
    UInt32 unboundedArrayElements = 0) const noexcept;

Return Value

The number of descriptors that must be allocated for a descriptor set with this layout on heap.

Parameters

NameDescription
heapThe heap to check.
unboundedArrayElementsThe number of elements in the unbounded array range.