DXGK_BRIGHTNESS_SENSOR_DATA structure (d3dkmdt.h)

Describes the sensor data brightness.

Syntax

typedef struct _DXGK_BRIGHTNESS_SENSOR_DATA {
  UINT32                                   Size;
  union {
    struct {
      UINT AlsReadingValid : 1;
      UINT ChromaticityValid : 1;
      UINT ColorTemperatureValid : 1;
      UINT Reserved : 29;
    } Flags;
    UINT ValidSensorValues;
  };
  float                                    AlsReading;
  DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY Chromaticity;
  float                                    ColorTemperature;
} DXGK_BRIGHTNESS_SENSOR_DATA;

Members

Size

The size of the structure. Fields for new sensor types will always be added to the end of the structure if it is revised in future updates.

Flags

Flags that represent the type of brightness for the sensor data.

Flags.AlsReadingValid

The ALS reading is valid.

Flags.ChromaticityValid

The chromaticity is valid.

Flags.ColorTemperatureValid

The color temperature is valid.

Flags.Reserved

Reserved.

ValidSensorValues

A bitmask that represents which sensor values are valid. The valid flags may change between calls. Not all devices will support all or any of the sensor types.

AlsReading

Luminance in lux, measured by an ALS sensor.

Chromaticity

A DXGK_BRIGHTNESS_SENSOR_DATA_CHROMATICITY structure that contains CIE 1931 chromaticity coordinates from a color sensor.

ColorTemperature

Color temperature in Kelvin, measured by a color sensor.

Requirements

Requirement Value
Header d3dkmdt.h