<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLFunctionHandle",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLFunctionHandle"
  },
  "title" : "MTLFunctionHandle"
}
-->

# MTLFunctionHandle

An object representing a function that you can add to a visible function table.

```
protocol MTLFunctionHandle : NSObjectProtocol, Sendable
```

## Topics

### Querying handle properties

[`device`](/documentation/Metal/MTLFunctionHandle/device)

The device object that created the shader function.

[`functionType`](/documentation/Metal/MTLFunctionHandle/functionType)

The shader function’s type.

[`name`](/documentation/Metal/MTLFunctionHandle/name)

The function’s name.



---

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)