# RequestHDRModeChange(bool)

> Use this function to request a change in the HDR Output Mode and in the value of HDROutputSettings.active.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.3/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void RequestHDRModeChange(bool enabled)
```

### Parameters

**** (\[bool]\(https\://learn.microsoft.com/dotnet/api/system.boolean)): Indicates whether HDR should be enabled.

### Remarks

When calling this function, Unity automatically sets the [HDROutputSettings.HDRModeChangeRequested](/engine/6000.3/script-reference/unityengine/hdroutputsettings/hdrmodechangerequested.md) property to `true` until the HDR Output Mode change completes.

This functionality could be used to implement an in application menu allowing users to swap in or our of HDR display mode.

Some platforms cannot swap in or out of HDR display mode at runtime. See [SystemInfo.hdrDisplaySupportFlags](/engine/6000.3/script-reference/unityengine/systeminfo/hdrdisplaysupportflags.md) for more information.

Accessing this member results in an exception if HDR is not available on the display. Use [HDROutputSettings.available](/engine/6000.3/script-reference/unityengine/hdroutputsettings/available.md) for the display to check that HDR is available.
