#pragma section-numbers off #pragma camelcase off = SDL_CalculateGammaRamp = Use this function to calculate a 256 entry gamma ramp for a gamma value. <> == Syntax == {{{#!highlight cpp void SDL_CalculateGammaRamp(float gamma, Uint16* ramp) }}} == Function Parameters == ||'''gamma'''||a gamma value where 0.0 is black and 1.0 is identity|| ||'''ramp'''||an array of 256 values filled in with the gamma ramp|| == Code Examples == {{{#!highlight cpp You can add your code example here }}} == Remarks == ''You can add useful comments here'' == Related Functions == .[[SDL_SetWindowGammaRamp]] ---- [[CategoryAPI]], [[CategoryPixels]]