enum render::GpuCommandBufferState

Possible states that a command buffer can be in.

The transitions generally happen in the order they are listed.

Values

NameValueDescription
Ready 0 Command buffer is ready to start recording new commands.
Recording 1 Commands can be recorded to the buffer.
RecordingRenderPass 2 Command buffer is currently recording and is within render pass.
RecordingDone 3 Command buffer is done recording but hasn't been submitted.
Executing 4 Command buffer has been submitted for execution on the GPU, but still hasn't finished executing.
Done 5 Command buffer has finished executing on the GPU, but has not yet been reset.