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¶
| Name | Description |
|---|---|
| heap | The heap to check. |
| unboundedArrayElements | The number of elements in the unbounded array range. |