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
.
Trait Implementations§
source§impl Debug for CommandBuffer
impl Debug for CommandBuffer
Auto Trait Implementations§
impl Freeze for CommandBuffer
impl !RefUnwindSafe for CommandBuffer
impl Send for CommandBuffer
impl Sync for CommandBuffer
impl Unpin for CommandBuffer
impl !UnwindSafe for CommandBuffer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more