A flag that instructs ARKit to create environment textures in HDR format.
- iOS 13.0+
If you set
.automatic in iOS 12 or later, ARKit gives you environment textures you cast on your app's virtual content to create realistic reflections. By default,
wants is set to
true. When your renderer supports HDR environment textures in iOS 13, it enables your lighting engine to output more colors, with a more realistic result.
For a Metal app that doesn't yet support HDR environment textures, you can use the following code to receive LDR environment textures until you're ready to update your renderer for HDR.