# useHDRDisplay

> Switch the main display to HDR mode (if available).

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool useHDRDisplay { get; set; }
```

### Remarks

Enabling this setting will also enable [PlayerSettings.allowHDRDisplaySupport](/engine/6000.6/script-reference/unityeditor/playersettings/allowhdrdisplaysupport.md) to make sure all the resources required for using HDR Displays are included in the build.

Additional Resources: [PlayerSettings.allowHDRDisplaySupport](/engine/6000.6/script-reference/unityeditor/playersettings/allowhdrdisplaysupport.md).
