---
title: depthContentOffsetX
framework: metalfx
role: symbol
role_heading: Instance Property
path: metalfx/mtlfxtemporalscalerbase/depthcontentoffsetx
---

# depthContentOffsetX

The horizontal offset, in pixels, of the region within the depth texture to use as input.

## Declaration

```swift
var depthContentOffsetX: Int { get set }
```
