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.
Syntax
typedef struct _DDGAMMARAMP
{
WORD red[256];
WORD green[256];
WORD blue[256];
}DDGAMMARAMP, *LPDDGAMMARAMP;
Members
- 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.
Requirements
Header |
ddraw.h |
See Also
Reference
DirectDraw Structures
DirectDraw Reference
IDirectDrawGammaControl::GetGammaRamp
IDirectDrawGammaControl::SetGammaRamp