Penguin
 
SDL_Get Gamma Ramp(3)
LikePages

SDL_!GetGammaRamp

SDL_!GetGammaRamp

NAME SYNOPSIS DESCRIPTION RETURN VALUE SEE ALSO


NAME

SDL_!GetGammaRamp- Gets the color gamma lookup tables for the display

SYNOPSIS

#include

int SDL_!GetGammaRamp(__Uint16 *redtable, Uint16

  • greentable, Uint16 *bluetable__);

DESCRIPTION

Gets the gamma translation lookup tables currently used by the display. Each table is an array of 256 Uint16 values.

Not all display hardware is able to change gamma.

RETURN VALUE

Returns -1 on error.

SEE ALSO

SDL_!SetGamma SDL_!SetGammaRamp


This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.