---
title: depth
framework: metalperformanceshaders
role: symbol
role_heading: Instance Property
path: metalperformanceshaders/mpsstatetextureinfo/depth
---

# depth

## Declaration

```swift
var depth: Int
```
