glutSetColor - Man Page

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)

Referenced By

glutCopyColormap(3), glutGetColor(3).