GLUTSETCOLOR
Section: C Library Functions (3)
Updated: LOCAL
Index
Return to Main Contents
BSD mandoc
 
NAME
glutSetColor
 - Sets an indexed color-mode entry.
 
LIBRARY
OpenGLUT - colormap
 
SYNOPSIS
In openglut.h
Ft void
Fn glutSetColor int nColor GLfloat red GLfloat green GLfloat blue
 
PARAMETERS
Bf Em
 nColor
Ef 
    The palette entry to change.
Bf Em
 red
Ef 
       New red value for palette entry.
Bf Em
 green
Ef 
     New green value for palette entry.
Bf Em
 blue
Ef 
      New blue value for palette entry.
 
DESCRIPTION
glutSetCursor() allows you to set individual color-map entries
in a 
Bf Sy
 GLUT_INDEX
Ef 
 type of display.  Respects the
current overlay setting.
 
BUGS
Unimplemented.
 
SEE ALSO
glutGetColor(3)
glutCopyColorMap(3)