MTLCommandEncoderErrorState

Possible error conditions for the command encoder’s commands.

Values

ValueMeaning
Completed1

A state that indicates the GPU successfully executed the commands without any errors.

Pending3

An error state that indicates the GPU didn’t execute the commands.

Affected2

An error state that indicates the GPU failed to fully execute the commands because of an error.

Faulted4

An error state that indicates the commands in the command buffer are the cause of an error.

Unknown0

An error state that indicates the command buffer doesn’t know the state of its commands on the GPU.

Meta