vertexBuffer
Draws a VertexBuffer using primitive
Draws the specified vertex buffers using the given draw primitive and parameters.
Parameters
A list of vertex buffers to be drawn.
The type of drawing primitive to use for rendering (e.g., triangles, lines).
The starting index in the vertex buffer from which to begin drawing. Default is 0.
The number of vertices to be drawn from the vertex buffer. Default is the vertex count of the first buffer in the list.
Draws a vertex buffer using the specified parameters.
Parameters
The index buffer that contains indices for drawing vertices.
A list of vertex buffers containing vertex data.
The primitive type used for drawing (e.g., triangle, line).
The starting offset in the index buffer to begin drawing. Defaults to 0.
The number of indices to use for drawing. Defaults to the total index count in the index buffer.