Click or drag to resize

BgfxVertexPack Method

Packs a vector into vertex stream format.

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

Parameters

input  Single*
The four element vector to pack.
inputNormalized  Boolean
true if the input vector is normalized.
attribute  VertexAttributeUsage
The attribute usage of the vector data.
layout  VertexLayout
The layout of the vertex stream.
data  IntPtr
The pointer to the vertex data stream.
index  Int32  (Optional)
The index of the vertex within the stream.
See Also