Skip to content

LiteFX::Rendering::IDescriptorSet::capacity

Returns the size of a descriptor array bound at binding.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Return Value

The size of the descriptor array bound at binding, or 0 if the descriptor set does not contain a binding at binding.

Parameters

NameDescription
bindingThe binding for which to obtain the descriptor count.