GPUCommandBuffer
- class wgpu.GPUCommandBuffer
Bases:
GPUObjectBase
Stores a series of commands generated by a
GPUCommandEncoder
.The buffered commands can subsequently be submitted to a
GPUQueue
.Command buffers are single use, you must only submit them once and submitting them destroys them. Use render bundles to re-use commands.
Create a command buffer using GPUCommandEncoder.finish().