Value | Meaning |
---|---|
NotEnqueued0 | A command buffer’s initial state, which indicates its command queue isn’t reserving a place for it. |
Enqueued1 | A command buffer’s second state, which indicates its command queue is reserving a place for it. |
Committed2 | A command buffer’s third state, which indicates the command queue is preparing to schedule the command buffer by resolving its dependencies. |
Scheduled3 | A command buffer’s fourth state, which indicates the command buffer has its resources ready and is waiting for the GPU to run its commands. |
Completed4 | A command buffer’s successful, final state, which indicates the GPU finished running the command buffer’s commands without any problems. |
Error5 | A command buffer’s unsuccessful, final state, which indicates the GPU stopped running the buffer’s commands because of a runtime issue. |
The discrete states for a command buffer that represent its life cycle stages.