Click or drag to resize

BgfxSetVertexBuffer(Int32, TransientVertexBuffer, Int32, Int32) Method

Sets the vertex buffer to use for drawing primitives.

Namespace: Internal.SharpBgfx
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void SetVertexBuffer(
	int stream,
	TransientVertexBuffer vertexBuffer,
	int firstVertex,
	int count
)

Parameters

stream  Int32
The index of the vertex stream to set.
vertexBuffer  TransientVertexBuffer
The vertex buffer to set.
firstVertex  Int32
The index of the first vertex to use.
count  Int32
The number of vertices to pull from the buffer.
See Also