VertexLayoutGetOffset Method |
Gets the byte offset of a particular attribute in the layout.
Namespace:
Internal.SharpBgfx
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public int GetOffset(
VertexAttributeUsage attribute
)
Parameters
- attribute
- Type: Internal.SharpBgfxVertexAttributeUsage
The attribute for which to get the offset.
Return Value
Type:
Int32The offset of the attribute, in bytes.
See Also