---
title: depthTexture
framework: MetalFX
role: symbol
role_heading: Instance Property
platforms: [iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, tvOS 27.1+]
path: metalfx/mtlfxframeinterpolatorbase/depthtexture
---

# depthTexture

The depth texture this frame interpolator evaluates.

## Declaration

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

## Discussion

Discussion You are responsible for ensuring the usage and pixel format of the texture you assign to this property matches the texture usage depthTextureUsage requests and the pixel format that depthTextureFormat requests.
