---
title: maxVertexCallStackDepth
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinedescriptor/maxvertexcallstackdepth
---

# maxVertexCallStackDepth

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

## Declaration

```swift
var maxVertexCallStackDepth: 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)
- [maxFragmentCallStackDepth](metal/mtlrenderpipelinedescriptor/maxfragmentcallstackdepth.md)
