---
title: motionTexture
framework: metalfx
role: symbol
role_heading: Instance Property
path: metalfx/mtlfxtemporaldenoisedscalerbase/motiontexture
---

# motionTexture

The motion texture this scaler evaluates.

## Declaration

```swift
var motionTexture: (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 motionTextureUsage requests and the pixel format that motionTextureFormat requests.
