DDGAMMARAMP
Collapse the table of content
Expand the table of content

DDGAMMARAMP (Compact 2013)

3/26/2014

This structure contains red, green, and blue gamma ramp data.

This structure is used to set and retrieve a gamma ramp with IDirectDrawGammaControl::GetGammaRamp and IDirectDrawGammaControl::SetGammaRamp.


typedef struct _DDGAMMARAMP
{
  WORD red[256];
  WORD green[256];
  WORD blue[256];
}DDGAMMARAMP, *LPDDGAMMARAMP;

red

An array of 256 WORD elements that describes the red gamma ramp.

green

An array of 256 WORD elements that describes the green gamma ramp.

blue

An array of 256 WORD elements that describes the blue gamma ramp.

Header

ddraw.h

Show:
© 2016 Microsoft