Skip to main content

CommandBuffer

CommandBuffer is an immutable recorded unit of GPU work produced by a CommandEncoder. Submit it through the owning Device.

Common mistake

Do not mutate resources or layouts as if finishing the encoder changed the recorded command contract. Build a new command buffer when the operation sequence changes.

See GPU commands.