Skip to content

LiteFX::Rendering::Backends::VulkanDescriptorSetLayout::getDescriptorOffset

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

Synopsis

Declared in <litefx/backends/vulkan.hpp>

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

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.