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

# options

The options that Metal used to compile this function.

## Declaration

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

## See Also

### Identifying shader functions

- [device](metal/mtlfunction/device.md)
- [label](metal/mtlfunction/label.md)
- [functionType](metal/mtlfunction/functiontype.md)
- [name](metal/mtlfunction/name.md)
- [MTLFunctionType](metal/mtlfunctiontype.md)
- [MTLFunctionOptions](metal/mtlfunctionoptions.md)
