<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLIOStatus",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLIOStatus"
  },
  "title" : "MTLIOStatus"
}
-->

# MTLIOStatus

Represents the state of an input/output command buffer.

```
enum MTLIOStatus
```

## Topics

### I/O command queue states

[`MTLIOStatus.pending`](/documentation/Metal/MTLIOStatus/pending)

Indicates the GPU hasn’t finished executing the input/output command buffer.

[`MTLIOStatus.complete`](/documentation/Metal/MTLIOStatus/complete)

Indicates the GPU has successfully finished executing the input/output command buffer.

[`MTLIOStatus.cancelled`](/documentation/Metal/MTLIOStatus/cancelled)

Indicates the GPU has successfully abandoned the input/output command buffer.

[`MTLIOStatus.error`](/documentation/Metal/MTLIOStatus/error)

Indicates the GPU experienced a problem with the input/output command buffer.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)