---
title: maxFragmentCallStackDepth
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinedescriptor/maxfragmentcallstackdepth
---

# maxFragmentCallStackDepth

The maximum function call depth from the top-most fragment shader function.

## Declaration

```swift
var maxFragmentCallStackDepth: Int { get set }
```

## Discussion

Discussion The default value is 1.

## See Also

### Specifying graphics functions and associated data

- [vertexFunction](metal/mtlrenderpipelinedescriptor/vertexfunction.md)
- [fragmentFunction](metal/mtlrenderpipelinedescriptor/fragmentfunction.md)
- [maxVertexCallStackDepth](metal/mtlrenderpipelinedescriptor/maxvertexcallstackdepth.md)
