Struct wgpu::CommandBuffer
source · pub struct CommandBuffer { /* private fields */ }
Expand description
Handle to a command buffer on the GPU.
A CommandBuffer
represents a complete sequence of commands that may be submitted to a command
queue with Queue::submit
. A CommandBuffer
is obtained by recording a series of commands to
a CommandEncoder
and then calling CommandEncoder::finish
.
Corresponds to WebGPU GPUCommandBuffer
.