Contents

timeout

An error code that indicates the system interrupted and terminated the command buffer before it finished running.

Declaration

static var timeout: MTLCommandBufferError.Code { get }

Discussion

Possible causes include:

  • The commands in the buffer took more time to run than the system allows.

  • The command buffer timed out waiting for another workload to signal an MTLEvent.

See Also

Errors codes