// d3dukmdt.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The D3DDDI_GAMMARAMP_TYPE enumeration indicates the type of gamma ramp used in a video present path.
D3DDDI_GAMMARAMP_UNINITIALIZEDIndicates that a variable of type D3DDDI_GAMMARAMP_TYPE has not yet been assigned a meaningful value.
D3DDDI_GAMMARAMP_DEFAULTIndicates the default gamma ramp should be used.
D3DDDI_GAMMARAMP_RGB256x3x16Indicates 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_1Indicates that the gamma lookup table is described by a D3DDDI_GAMMA_RAMP_DXGI_1 structure.
D3DDDI_GAMMARAMP_MATRIX_3x4Indicates that the color space transform is defined by a D3DDDI_3X4_COLORSPACE_TRANSFORM structure.
D3DDDI_GAMMARAMP_MATRIX_V2Indicates that the color space transform is defined by a D3DKMDT_COLORSPACE_TRANSFORM_MATRIX_V2 structure.
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.