Contents

MTLCommandBufferStatus.error

A command buffer’s unsuccessful, final state, which indicates the GPU stopped running the buffer’s commands because of a runtime issue.

Declaration

case error

Mentioned in

Discussion

See the MTLCommandBuffer protocol’s status property for more information. When a command buffer’s status is equal to MTLCommandBufferStatus.error, check its error property for more details about the issue. See Command buffer debugging for more methods properties that can help you identify the issue.

See Also

Command buffer states