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