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