glutGetColor

Langue: en

Version: 156671 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)


BSD mandoc

NAME

glutGetColor - Gets an indexed color-mode entry's Red, Green, or Blue value.

LIBRARY

OpenGLUT - colormap

SYNOPSIS

In openglut.h Ft GLfloat Fn glutGetColor int color int component

PARAMETERS

Bf Em
 color Ef
     The palette entry to fetch.

Bf Em
 component Ef
 Whether to fetch Red, Green, or Blue.

DESCRIPTION

Allows you to get individual color-map entries in a Bf Sy
 GLUT_INDEX Ef
 type of display.  Respects the current layer setting.

Bf Sy
 component Ef
 may be any of:


 -  Bf Sy
 GLUT_RED Ef
 
 -  Bf Sy
 GLUT_GREEN Ef
 
 -  Bf Sy
 GLUT_BLUE Ef
 

BUGS

Unimplemented.

SEE ALSO

glutSetColor(3) glutCopyColorMap(3)