Click or drag to resize

BgfxSetVertexBuffer Method (Int32, VertexBuffer, Int32, Int32)

Sets the vertex buffer to use for drawing primitives.

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

Parameters

stream
Type: SystemInt32
The index of the vertex stream to set.
vertexBuffer
Type: Internal.SharpBgfxVertexBuffer
The vertex buffer to set.
firstVertex
Type: SystemInt32
The index of the first vertex to use.
count
Type: SystemInt32
The number of vertices to pull from the buffer.
See Also