D3DDDI_GAMMARAMP_TYPE enumeration (d3dukmdt.h)

The D3DDDI_GAMMARAMP_TYPE enumeration indicates the type of gamma ramp used in a video present path.

Syntax

typedef enum _D3DDDI_GAMMARAMP_TYPE {
  D3DDDI_GAMMARAMP_UNINITIALIZED,
  D3DDDI_GAMMARAMP_DEFAULT,
  D3DDDI_GAMMARAMP_RGB256x3x16,
  D3DDDI_GAMMARAMP_DXGI_1,
  D3DDDI_GAMMARAMP_MATRIX_3x4,
  D3DDDI_GAMMARAMP_MATRIX_V2
} D3DDDI_GAMMARAMP_TYPE;

Constants

 
D3DDDI_GAMMARAMP_UNINITIALIZED
Indicates that a variable of type D3DDDI_GAMMARAMP_TYPE has not yet been assigned a meaningful value.
D3DDDI_GAMMARAMP_DEFAULT
Indicates the default gamma ramp.
D3DDDI_GAMMARAMP_RGB256x3x16
Indicates that the gamma lookup table contains three arrays, one each for the red, green, and blue color channels. Each array has 256 16-bit values.
D3DDDI_GAMMARAMP_DXGI_1
Indicates that the gamma lookup table is described by a D3DDDI_GAMMA_RAMP_DXGI_1 structure.
D3DDDI_GAMMARAMP_MATRIX_3x4
Indicates that the color space transform is defined by a D3DDDI_3X4_COLORSPACE_TRANSFORM structure.

Remarks

The GammaRamp member of the D3DKMDT_VIDPN_PRESENT_PATH structure is a D3DKMDT_GAMMA_RAMP structure. The Type member of the D3DKMDT_GAMMA_RAMP structure is a D3DDDI_GAMMARAMP_TYPE value.

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dukmdt.h (include D3dukmdt.h)

See also

D3DKMDT_COLOR_BASIS