Gets the color gamma lookup tables for the display.
If the call succeeds, it will return 0. If the display driver or hardware does not support gamma translation, or otherwise fails, this function will return -1.
Gets the gamma translation lookup tables currently used by the display. Each table is an array of 256 Int16 values.
You must pass in valid pointers to arrays of 256 16-bit quantities. Any of the pointers may be NULL to ignore that channel.
Not all display hardware is able to change gamma.
Binds to C-function call in SDL_video.h:
int SDLCALL SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue)
Sdl Class | Tao.Sdl Namespace | SDL_SetGamma | SDL_SetGammaRamp