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

# MTLLibraryType

A set of options for Metal library types.

```
enum MTLLibraryType
```

## Topics

### Library options

[`MTLLibraryType.executable`](/documentation/Metal/MTLLibraryType/executable)

A library that can create pipeline state objects.

[`MTLLibraryType.dynamic`](/documentation/Metal/MTLLibraryType/dynamic)

A library that you can dynamically link to from other libraries.



---

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)