XDisplayHdrModeInfo
Specifies the minimum and maximum tone map luminance values for HDR (high dynamic range) mode on the attached display.Syntax
Members
minToneMapLuminanceType: float The minimum tone map luminance (MinTML) value, in nits. maxToneMapLuminance
Type: float The maximum tone map luminance (MaxTML) value, in nits. maxFullFrameToneMapLuminance
Type: float The maximum full-frame tone map luminance (MaxFFTML) value, in nits.
Remarks
The XDisplayTryEnableHdrMode function returns an XDisplayHdrModeResult enumeration value that indicates whether the function can enable HDR mode for the attached display. If XDisplayHdrModeResult::Enabled is returned, the function also provides an XDisplayHdrModeInfo structure that contains information about HDR mode for the display, including the minimum and maximum tone map luminance values for HDR mode. For more information about HDR luminance values and tone mapping, see the For a Better HDR Gaming Experience presentation on the HDR Gaming Interest Group website. The following example attempts to enable HDR mode for the attached display. If XDisplayHdrModeInfo::Enabled is returned, then HDR mode is enabled for the display and the game uses the luminance values from the returned XDisplayHdrModeInfo structure to initialize in HDR mode; otherwise, HDR mode is either unavailable or disabled, and the game initializes in SDR (standard dynamic range) mode.Requirements
Header: XDisplay.h Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
XDisplayHdrModeResultXDisplayTryEnableHdrMode
XDisplay
