Microsoft documentation and sample code claims that DXGI can switch a monitor between HDR/SDR modes. However running the code sample D3D12HDR and changing the swap chain format does not change the monitor mode for me.
I am only able to set the screen into hdr either through:
Is it possible to change the monitor's HDR mode using only DXGI API? My monitor is an ASUS XG27U.
There are no DX APIs to set the display into HDR mode. It must be enabled in Windows display settings.
Use of the NVIDIA API functions is discouraged.