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

# MTLPipelineOption

Options that determine how Metal prepares the pipeline.

```
struct MTLPipelineOption
```

## Topics

### Retrieving argument information

[`MTLPipelineOptionNone`](/documentation/Metal/MTLPipelineOption/MTLPipelineOptionNone)

Don’t provide any reflection information.

[`bufferTypeInfo`](/documentation/Metal/MTLPipelineOption/bufferTypeInfo)

An option instance that provides detailed buffer type information for buffer arguments.

[`failOnBinaryArchiveMiss`](/documentation/Metal/MTLPipelineOption/failOnBinaryArchiveMiss)

An option that instructs the compiler to return an error when a GPU function isn’t in a binary archive.

[`argumentInfo`](/documentation/Metal/MTLPipelineOption/argumentInfo)

An option instance that provides argument information for textures and threadgroup memory.

### Creating compilation options

[`init(rawValue:)`](/documentation/Metal/MTLPipelineOption/init(rawValue:))

Creates empty compilation options.

### Type properties

[`bindingInfo`](/documentation/Metal/MTLPipelineOption/bindingInfo)

An option that provides binding information for pipeline state resources.



---

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)