Skip to content

LiteFX::Rendering::IDescriptorSetLayout::getDescriptorOffset

Returns the offset for a descriptor within a descriptor set of this layout.

Synopsis

Declared in <litefx/rendering_api.hpp>

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

Return Value

The offset from the beginning of the descriptor set.

Parameters

NameDescription
bindingThe binding point for the descriptor.
elementThe index of the array element of a descriptor array.