DDGAMMARAMP structure (ddraw.h)

The DDGAMMARAMP structure contains red, green, and blue ramp data for the IDirectDrawGammaControl::GetGammaRamp and IDirectDrawGammaControl::SetGammaRamp methods.

Syntax

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

Members

red[256]

Array of 256 WORD elements that describe the red gamma ramp.

green[256]

Array of 256 WORD elements that describe the green gamma ramp.

blue[256]

Array of 256 WORD elements that describe the blue gamma ramp.

Requirements

Requirement Value
Header ddraw.h