---
title: meshFunctionDescriptor
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4meshrenderpipelinedescriptor/meshfunctiondescriptor
---

# meshFunctionDescriptor

Assigns a function descriptor representing the function this pipeline executes for each primitive in the mesh shader stage.

## Declaration

```swift
@NSCopying var meshFunctionDescriptor: MTL4FunctionDescriptor? { get set }
```
