DRAFT |
SDL_CalculateGammaRamp
Use this function to calculate a 256 entry gamma ramp for a gamma value.
Syntax
void SDL_CalculateGammaRamp(float gamma,
Uint16* ramp)
Function Parameters
gamma |
a gamma value between 0.0 (black) and 1.0 (identity) |
ramp |
a pointer to the calculated gamma ramp array |
Code Examples
You can add your code example here
Remarks
You can add useful comments here
