Skip to content

LiteFX::Rendering::DescriptorAllocationLayout::range

Returns the descriptor allocation range for a binding.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] Optional<DescriptorAllocationRange> range(UInt32 binding) const noexcept;

Return Value

The allocation range layout or std::nullopt, if binding is not part of the layout.

Parameters

NameDescription
bindingThe binding for which to obtain the allocation range.