command
fun command(vertexCount: UInt, instanceCount: UInt, baseVertex: Int = 0, baseInstance: UInt): Command(source)
Creates a new command with the specified vertex and instance parameters.
Return
A new command instance configured with the provided parameters.
Parameters
vertexCount
The number of vertices to be processed by the command.
instanceCount
The number of instances to be processed by the command. Defaults to 1.
baseVertex
The starting vertex index for the command. Defaults to 0.
baseInstance
The starting instance index for the command. Defaults to 0.