# D3DHDRBitDepth

> The number of bits in each color channel for swap chain buffers. (Direct3D 11 and Direct3D 12 mode).

## Definition

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

> **Warning:**
>
> **Removed.** D3DHDRBitDepth has been replaced by hdrBitDepth.
>
> **Upgrade to** [PlayerSettings.hdrBitDepth](/engine/6000.6/script-reference/unityeditor/playersettings/hdrbitdepth.md)

```csharp
public static D3DHDRDisplayBitDepth D3DHDRBitDepth { get; set; }
```

### Remarks

The bit count also defines the method Unity uses to render content to the display. When set to `10`, Unity will use R10G10B10A2 buffer format, Rec2020 primaries and ST2084 PQ encoding. When set to `16`, Unity will use R16G16B16A16 buffer format, Rec709 primaries and linear color (no encoding).
