Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorRange::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/backends/vulkan.hpp>

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

Return Value

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

Parameters

NameDescription
elementA type for an unsigned 32 bit integer.