glutgetcolor(3) - Linux man page

Name

glutGetColor - 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 Also

glutsetcolor(3) glutcopycolormap(3)

BSD Epoch BSD