Scroll to navigation

GLUTSETCOLOR(3) Library Functions Manual (local) GLUTSETCOLOR(3)

NAME

glutSetColorSets an indexed color-mode entry.

LIBRARY

OpenGLUT - colormap

SYNOPSIS

#include <openglut.h>

void
glutSetColor(int nColor, GLfloat red, GLfloat green, GLfloat blue);

PARAMETERS


nColor

The palette entry to change.


red

New red value for palette entry.


green

New green value for palette entry.


blue

New blue value for palette entry.

DESCRIPTION

glutSetCursor() allows you to set individual color-map entries in a


GLUT_INDEX

type of display. Respects the current overlay setting.

BUGS

Unimplemented.

SEE ALSO

glutGetColor(3) glutCopyColorMap(3)