---
title: sourceDepthTexture
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/arview/postprocesscontext/sourcedepthtexture
---

# sourceDepthTexture

The frame’s depth buffer.

## Declaration

```swift
var sourceDepthTexture: any MTLTexture
```

## Mentioned in

Implementing postprocess effects using Metal compute functions
