Registers a completion handler the GPU device calls immediately after the GPU finishes running the commands in the command buffer.
Registers a completion handler the GPU device calls immediately after it schedules the command buffer to run on the GPU.
Submits the command buffer to run on the GPU.
Encodes a command into the command buffer that pauses the GPU from running subsequent passes until the event equals or exceeds a value.
Encodes a command into the command buffer that pauses the GPU from running subsequent passes until the event equals or exceeds a value.
Reserves the next available place for the command buffer in its command queue.
A string to help identify this object
Presents a drawable as early as possible.
Presents a drawable at a specific time.
Presents a drawable after the system presents the previous drawable for an amount of time.
The command buffer’s current state.
Synchronously waits for the GPU to finish running the command buffer, which can block the current thread’s execution.
Synchronously waits for the command queue to schedule the buffer, which can block the current thread’s execution.
A container that stores a sequence of GPU commands that you encode into it.