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¶
| Name | Description |
|---|---|
| binding | The binding point for the descriptor. |
| element | The index of the array element of a descriptor array. |