glutGetColor (3) - Linux Man Pages

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

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.