---
title: specializedName
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlfunctiondescriptor/specializedname
---

# specializedName

A new name for the created function object.

## Declaration

```swift
var specializedName: String? { get set }
```

## Discussion

Discussion The default value is nil. If you specify a value for this property, Metal creates the new MTLFunction object with the new name. Use this property if you want to specialize a function with multiple variants and give each a distinct name.

## See Also

### Specifying the function configuration

- [name](metal/mtlfunctiondescriptor/name.md)
- [constantValues](metal/mtlfunctiondescriptor/constantvalues.md)
- [options](metal/mtlfunctiondescriptor/options.md)
- [binaryArchives](metal/mtlfunctiondescriptor/binaryarchives.md)
- [MTLFunctionOptions](metal/mtlfunctionoptions.md)
- [MTLLinkedFunctions](metal/mtllinkedfunctions.md)
