<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 8.0.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 27.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MetalFX",
  "identifier" : "/documentation/MetalFX/MTLFXTemporalScalerBase/exposureTexture",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MetalFX"
    ],
    "preciseIdentifier" : "c:objc(pl)MTLFXTemporalScalerBase(py)exposureTexture"
  },
  "title" : "exposureTexture"
}
-->

# exposureTexture

The exposure texture this scaler uses.

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

## Discussion

Create and assign a 1x1  `MTLPixelFormatR16Float`  texture to assign to this property. MetalFX reads the R channel
of the texel at position `(0,0)` and uses it as the exposure value. It then uses this value to multiply the input color.

For best performance, use the GPU to generate the exposure value and store it into this texture.

> Note: The temporal scaler ignores this property if you create it with a descriptor that has its
> ``doc://com.apple.metalfx/documentation/MetalFX/MTLFXTemporalScalerDescriptor/isAutoExposureEnabled`` property set to
> <doc://com.apple.documentation/documentation/Swift/true>.

---

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)