---
title: objectFunction
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlmeshrenderpipelinedescriptor/objectfunction
---

# objectFunction

## Declaration

```swift
var objectFunction: (any MTLFunction)? { get set }
```
