---
title: dynamicRange
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/realityviewrenderingeffects/dynamicrange
---

# dynamicRange

Enables or disables high dynamic range rendering for virtual content.

## Declaration

```swift
var dynamicRange: RealityViewDynamicRange
```

## Discussion

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 option to the view’s renderOptions 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. important: This rendering effect is unavailable on macOS.
