Struct CommandBuffer

An opaque handle to a command buffer on the GPU.

struct CommandBuffer ;

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.

Fields

NameTypeDescription
descriptor const(__C.WGPUCommandBufferDescriptor)Describes a CommandBuffer.
id __C.WGPUCommandBufferImpl*Handle identifier.

See Also

wgpu::CommandBuffer