Export (0) Print
Expand All
Expand Minimize

D3DKMDT_GAMMA_RAMP structure

The D3DKMDT_GAMMA_RAMP structure contains descriptive information about a gamma lookup table and a pointer to the lookup table.

Syntax


typedef struct _D3DKMDT_GAMMA_RAMP {
  D3DDDI_GAMMARAMP_TYPE Type;
  SIZE_T                DataSize;
  union {
    D3DDDI_GAMMA_RAMP_RGB256x3x16 *pRgb256x3x16;
    D3DDDI_GAMMA_RAMP_DXGI_1      *pDxgi1;
    VOID                          *pRaw;
  } Data;
} D3DKMDT_GAMMA_RAMP;

Members

Type

A D3DDDI_GAMMARAMP_TYPE enumerator that specifies the format of the lookup table.

DataSize

The size, in bytes, of the lookup table pointed to by Data.

Data

[in] A union that contains one of the following ways to access the lookup table data depending on the value in the Type member:

pRgb256x3x16

If Type is equal to D3DDDI_GAMMARAMP_RGB256x3x16, this member is a pointer to a D3DDDI_GAMMA_RAMP_RGB256x3x16 structure that contains the lookup table.

pDxgi1

If Type is equal to D3DDDI_GAMMARAMP_DXGI_1, this member is a pointer to a D3DDDI_GAMMA_RAMP_DXGI_1 structure that contains the lookup table.

pRaw

This member provides an alternative way to access the lookup table data. For example, for copying the lookup table, VOID* might be more convenient than D3DDDI_GAMMA_RAMP_RGB256x3x16.

Remarks

The GammaRamp member of the D3DKMDT_VIDPN_PRESENT_PATH structure is a D3DKMDT_GAMMA_RAMP structure.

Requirements

Version

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

Header

D3dkmdt.h (include D3dkmdt.h)

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft