<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXTemporalDenoisedScalerBase/reactiveMaskTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLFXTemporalDenoisedScalerBase(py)reactiveMaskTexture"
  },
  "title" : "reactiveMaskTexture"
}
-->

# reactiveMaskTexture

A reactive-mask texture input for this scaler to evaluate.

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

## Discussion

This texture helps guide the denoiser when objects move quickly in a scene with inaccurate motion information,
such as when they involve alpha blending. In these situations, you can get better results by guiding MetalFX whether
to favor the current frame on a per-pixel basis with a reactive mask texture.

When providing this texture, you are responsible for ensuring each pixel is in the range `[0.0, 1.0]`, where a value:

- Equal to `0.0` tells MetalFX to follow its normal behavior for the corresponding pixel
- Equal to `1.0` tells MetalFX to ignore temporal history for the corresponding pixel
- In the range `(0.0, 1.0)` proportionally blends the effect for the corresponding pixel

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)