---
title: functionDescriptor
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4specializedfunctiondescriptor/functiondescriptor
---

# functionDescriptor

Provides a descriptor that corresponds to a base function that the specialization applies to.

## Declaration

```swift
@NSCopying var functionDescriptor: MTL4FunctionDescriptor? { get set }
```
