---
title: depthTexture
framework: metalfx
role: symbol
role_heading: Instance Property
path: metalfx/mtlfxtemporalscalerbase/depthtexture
---

# depthTexture

An input depth texture you set for the scaler that supports the correct color texture usage options.

## Declaration

```swift
var depthTexture: (any MTLTexture)? { get set }
```
