Skip to content

LiteFX::Rendering::IDescriptorRange::globalIndex

Returns the index of element within the global descriptor heap, i.e., the value a shader uses to index ResourceDescriptorHeap or SamplerDescriptorHeap.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] virtual UInt32 globalIndex(UInt32 element = 0) const = 0;

Return Value

The index of element within the global descriptor heap underlying the range.

Parameters

NameDescription
elementA type for an unsigned 32 bit integer.