drawCommandBuffer

actual abstract fun drawCommandBuffer(shader: Shader, commandBuffer: CommandBuffer<Command>, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, drawPrimitive: DrawPrimitive, commandCount: Int, commandBufferIndex: Int)(source)

Renders a set of commands using the specified shader, vertex buffers, and other rendering parameters.

Parameters

shader

The shader program used for rendering.

commandBuffer

The buffer containing rendering commands to execute.

vertexBuffers

A list of vertex buffers containing vertex data for rendering.

instanceAttributes

A list of vertex buffers containing instance-specific attributes.

drawPrimitive

The type of primitive to render (e.g., triangles, lines).

commandCount

The number of commands to process and execute from the command buffer.

commandBufferIndex

The index within the command buffer to start processing from. Defaults to 0.

expect abstract fun drawCommandBuffer(shader: Shader, commandBuffer: CommandBuffer<Command>, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, drawPrimitive: DrawPrimitive, commandCount: Int, commandBufferIndex: Int = 0)(source)

Renders a set of commands using the specified shader, vertex buffers, and other rendering parameters.

Parameters

shader

The shader program used for rendering.

commandBuffer

The buffer containing rendering commands to execute.

vertexBuffers

A list of vertex buffers containing vertex data for rendering.

instanceAttributes

A list of vertex buffers containing instance-specific attributes.

drawPrimitive

The type of primitive to render (e.g., triangles, lines).

commandCount

The number of commands to process and execute from the command buffer.

commandBufferIndex

The index within the command buffer to start processing from. Defaults to 0.

actual abstract fun drawCommandBuffer(shader: Shader, commandBuffer: CommandBuffer<Command>, vertexBuffers: List<VertexBuffer>, instanceAttributes: List<VertexBuffer>, drawPrimitive: DrawPrimitive, commandCount: Int, commandBufferIndex: Int)(source)

Renders a set of commands using the specified shader, vertex buffers, and other rendering parameters.

Parameters

shader

The shader program used for rendering.

commandBuffer

The buffer containing rendering commands to execute.

vertexBuffers

A list of vertex buffers containing vertex data for rendering.

instanceAttributes

A list of vertex buffers containing instance-specific attributes.

drawPrimitive

The type of primitive to render (e.g., triangles, lines).

commandCount

The number of commands to process and execute from the command buffer.

commandBufferIndex

The index within the command buffer to start processing from. Defaults to 0.