---
title: maxCallStackDepth
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtl4pipelinestagedynamiclinkingdescriptor/maxcallstackdepth
---

# maxCallStackDepth

Limits the maximum depth of the call stack for indirect function calls in the pipeline stage function.

## Declaration

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