BgfxSetVertexBuffer Method (Int32, TransientVertexBuffer, 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 public static void SetVertexBuffer(
int stream,
TransientVertexBuffer vertexBuffer,
int firstVertex,
int count
)
Parameters
- stream
- Type: SystemInt32
The index of the vertex stream to set. - vertexBuffer
- Type: Internal.SharpBgfxTransientVertexBuffer
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