Espandi Riduci a icona

D3DDDI_GAMMARAMP_TYPE enumeration

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  = 0,
  D3DDDI_GAMMARAMP_DEFAULT        = 1,
  D3DDDI_GAMMARAMP_RGB256x3x16    = 2,
  D3DDDI_GAMMARAMP_DXGI_1         = 3
} 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.

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

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dukmdt.h (include D3dukmdt.h)

See also

D3DKMDT_COLOR_BASIS

 

 

Send comments about this topic to Microsoft

Mostra:
© 2014 Microsoft