<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/RealityViewRenderingEffects/dynamicRange",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit",
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:19_RealityKit_SwiftUI0A20ViewRenderingEffectsV12dynamicRangeAA0ae7DynamicI0Vvp"
  },
  "title" : "dynamicRange"
}
-->

# dynamicRange

Enables or disables high dynamic range rendering for virtual content.

```
var dynamicRange: RealityViewDynamicRange
```

## Discussion

RealityKit applies a high dynamic range effect, along with tone
mapping, as a post-processing step in the GPU during the render.
This effect is computationally inexpensive, but you can add the
[`disableHDR`](/documentation/RealityKit/ARView/RenderOptions-swift.struct/disableHDR) option to the
view’s [`renderOptions`](/documentation/RealityKit/ARView/renderOptions-swift.property) set to turn the
effect off, if needed.

When deciding whether to use any effect, be sure to consider your
app’s CPU and GPU utilization, as described in
[Improving the Performance of a RealityKit App](/documentation/RealityKit/improving-the-performance-of-a-realitykit-app).

> Important: This rendering effect is unavailable on macOS.

---

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)