Click or drag to resize

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
C#
public int GetOffset(
	VertexAttributeUsage attribute
)

Parameters

attribute
Type: Internal.SharpBgfxVertexAttributeUsage
The attribute for which to get the offset.

Return Value

Type: Int32
The offset of the attribute, in bytes.
See Also