dynamicRange
Enables or disables high dynamic range rendering for virtual content.
Declaration
var dynamicRange: RealityViewDynamicRangeDiscussion
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.