Set the gamma translation table for the red, green, and blue channels of the video hardware.
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.
Each table is an array of 256 16-bit quantities, representing a mapping between the input and output for that channel. The input is the index into the array, and the output is the 16-bit gamma value at that index, scaled to the output color precision. You may pass NULL for any of the channels to leave it unchanged.
Sdl Class | Tao.Sdl Namespace | SDL_SetGamma | SDL_GetGammaRamp