1UNTITLED LOCAL UNTITLED
2
4 glutGetColor — Gets an indexed color-mode entry's Red, Green, or Blue
5 value.
6
8 OpenGLUT - colormap
9
11 #include <openglut.h>
12
13 GLfloat
14 glutGetColor(int color, int component);
15
17 color The palette entry to fetch.
18
19 component Whether to fetch Red, Green, or Blue.
20
22 Allows you to get individual color-map entries in a GLUT_INDEX type of
23 display. Respects the current layer setting.
24
25 component may be any of:
26
27 - GLUT_RED
28 - GLUT_GREEN
29 - GLUT_BLUE
30
32 Unimplemented.
33
35 glutSetColor(3) glutCopyColorMap(3)
36
37
38
39
40 Epoch