Click or drag to resize

EncoderSetVertexBuffer Method (Int32, DynamicVertexBuffer, 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 void SetVertexBuffer(
	int stream,
	DynamicVertexBuffer vertexBuffer,
	int startVertex,
	int count
)

Parameters

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