vertexBufferCommands
fun vertexBufferCommands(vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, primitive: DrawPrimitive, commandBuffer: CommandBuffer<Command>, commandCount: Int, commandOffset: Int = 0)(source)
Executes a series of drawing commands using the provided vertex buffers and draw parameters.
Parameters
vertexBuffers
The list of vertex buffers containing the vertex data to be used for rendering.
instanceAttributes
The list of vertex buffers containing instance-specific attributes, for instanced rendering.
primitive
The type of primitive to be drawn (e.g., triangles, lines).
commandBuffer
The buffer containing the sequence of drawing commands to execute.
commandCount
The number of drawing commands to execute from the command buffer.
commandOffset
The starting offset in the command buffer from which to begin executing commands. Defaults to 0.