UNTITLED LOCAL UNTITLED
NAMEglutGetColor — Gets an indexed color-mode entry's Red, Green, or Blue
value.
LIBRARY
OpenGLUT - colormap
SYNOPSIS
#include <openglut.h>
GLfloat
glutGetColor(int color, int component);
PARAMETERS
color The palette entry to fetch.
component Whether to fetch Red, Green, or Blue.
DESCRIPTION
Allows you to get individual color-map entries in a GLUT_INDEX type of
display. Respects the current layer setting.
component may be any of:
- GLUT_RED
- GLUT_GREEN
- GLUT_BLUE
BUGS
Unimplemented.
SEE ALSOglutSetColor(3)glutCopyColorMap(3)
Epoch