---
title: objectFunctionDescriptor
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4meshrenderpipelinedescriptor/objectfunctiondescriptor
---

# objectFunctionDescriptor

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

## Declaration

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