<!--
{
  "availability" : [
    "iOS: 17.0.0 - 18.0.0",
    "iPadOS: 17.0.0 - 18.0.0",
    "macCatalyst: 17.0.0 - 18.0.0",
    "macOS: 14.0.0 - 15.0.0",
    "tvOS: 17.0.0 - 18.0.0",
    "visionOS: 1.0.0 - 2.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLFunctionOptions/storeFunctionInMetalScript",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLFunctionOptions@MTLFunctionOptionStoreFunctionInMetalScript"
  },
  "title" : "storeFunctionInMetalScript"
}
-->

# storeFunctionInMetalScript

An option that instructs the compiler to store function information for inspecting binary archives.

```
static var storeFunctionInMetalScript: MTLFunctionOptions { get }
```

---

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)