IndexedCommand

Represents a command with indexed geometry data, allowing the application to process or execute multi-instance rendering commands efficiently.

This interface defines the necessary properties required to handle indexed drawing commands, typically used in graphics or rendering pipelines. Implementers can utilize these properties to specify the parameters for an indexed drawing operation.

  • vertexCount: The total number of vertices to be processed.

  • instanceCount: The number of instances for instanced rendering.

  • firstIndex: The starting index within the index buffer.

  • baseVertex: The base offset for vertex fetching.

  • baseInstance: The base instance ID used for instanced rendering.

Properties

Link copied to clipboard
abstract val baseInstance: UInt
Link copied to clipboard
abstract val baseVertex: Int
Link copied to clipboard
abstract val firstIndex: UInt
Link copied to clipboard
abstract val instanceCount: UInt
Link copied to clipboard
abstract val vertexCount: UInt