glutsetcolor(3) - Linux man page

Name

glutSetColor - Sets 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)

BSD Epoch BSD