---
title: meshFunction
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlmeshrenderpipelinedescriptor/meshfunction
---

# meshFunction

## Declaration

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