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

# options

Flags specifying how Metal should create the new function object.

## Declaration

```swift
var options: MTLFunctionOptions { get set }
```

## See Also

### Specifying the function configuration

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