Wiki Page Content

Revision 1 as of 2011-03-17 21:03:01

Clear message

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


CategoryAPI, CategoryPixels

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit