D3DGAMMARAMP structure

Contains red, green, and blue ramp data.

Syntax

typedef struct D3DGAMMARAMP {
  WORD red[256];
  WORD green[256];
  WORD blue[256];
} D3DGAMMARAMP, *LPD3DGAMMARAMP;

Members

red

Type: WORD

Array of 256 WORD element that describes the red gamma ramp.

green

Type: WORD

Array of 256 WORD element that describes the green gamma ramp.

blue

Type: WORD

Array of 256 WORD element that describes the blue gamma ramp.

Requirements

Requirement Value
Header
D3D9Types.h

See also

Direct3D Structures

GetGammaRamp

SetGammaRamp