Contents

extendedDynamicRangeOutput

Specify whether the target Metal layer has been configured for EDR output.

Declaration

var extendedDynamicRangeOutput: Bool { get set }

Discussion

If the Metal layer that this RealityRenderer will be rendering into has been configured to output extended dynamic range content (i.e. the property QuartzCore/CAMetalLayer/wantsExtendedDynamicRangeContent on the target QuartzCore/CAMetalLayer has been set to true and a pixel format that supports EDR content has been set), this property should be set to true so that RealityRenderer adjusts its tone mapping accordingly.

To control the amount of headroom available for extended dynamic range content, see extendedDynamicRangeHeadroom.

The default value is false.