DXGK_BRIGHTNESS_SET_IN structure (d3dkmdt.h)
Contains input parameters for the DxgkBrightnessSet3 callback function.
Syntax
typedef struct _DXGK_BRIGHTNESS_SET_IN {
UINT32 BrightnessMillinits;
UINT32 TransitionTimeMs;
DXGK_BRIGHTNESS_SENSOR_DATA SensorReadings;
} DXGK_BRIGHTNESS_SET_IN, *PDXGK_BRIGHTNESS_SET_IN;
Members
BrightnessMillinits
The brightness level in millinits to transition to. If the driver has not set DXGK_BRIGHTNESS_CAPS.NitsBrightness, then this value means the brightness level in uncalibrated thousandths of a percent.
For example, if BrightnessMillinits is set to 60500 and NitsBrightness is set, this means 60.5 nits luminance. If NitsBrightness is not set, this means 60.5%.
TransitionTimeMs
How long the transition should take in milliseconds.
SensorReadings
A DXGK_BRIGHTNESS_SENSOR_DATA structure that contains sensor readings the driver can use to determine the best way to achieve the desired brightness under current lighting conditions. Not all devices will support all or any sensor readings, and the driver should not fail if any are missing.
Requirements
Requirement | Value |
---|---|
Header | d3dkmdt.h |