Click or drag to resize

BgfxVertexUnpack Method

Unpack a vector from a vertex stream.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void VertexUnpack(
	float* output,
	VertexAttributeUsage attribute,
	VertexLayout layout,
	IntPtr data,
	int index = 0
)

Parameters

output  Single*
A pointer to four floats that will receive the unpacked vector.
attribute  VertexAttributeUsage
The usage of the vertex attribute.
layout  VertexLayout
The layout of the vertex stream.
data  IntPtr
A pointer to the vertex data stream.
index  Int32  (Optional)
The index of the vertex within the stream.
See Also