---
title: fragmentFunctionDescriptor
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4meshrenderpipelinedescriptor/fragmentfunctiondescriptor
---

# fragmentFunctionDescriptor

Assigns a function descriptor representing the function this pipeline executes for each fragment.

## Declaration

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