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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void VertexUnpack(
	float* output,
	VertexAttributeUsage attribute,
	VertexLayout layout,
	IntPtr data,
	int index = 0
)

Parameters

output
Type: SystemSingle*
A pointer to four floats that will receive the unpacked vector.
attribute
Type: Internal.SharpBgfxVertexAttributeUsage
The usage of the vertex attribute.
layout
Type: Internal.SharpBgfxVertexLayout
The layout of the vertex stream.
data
Type: SystemIntPtr
A pointer to the vertex data stream.
index (Optional)
Type: SystemInt32
The index of the vertex within the stream.
See Also