EncoderSetInstanceDataBuffer Method (VertexBuffer, Int32, Int32) |
Sets instance data 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 void SetInstanceDataBuffer(
VertexBuffer vertexBuffer,
int firstVertex,
int count
)
Parameters
- vertexBuffer
- Type: Internal.SharpBgfxVertexBuffer
The vertex buffer containing instance data. - 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