getcolor() — Silicon Graphics Beta Release
NAME
getcolor - returns the current color
SPECIFICATION
C
long getcolor()
FORTRAN
integer*4 function getcol()
Pascal
function getcolor: Colorindex;
DESCRIPTION
getcolor returns the current color. It is an index into the color map, and is meaningful in either single or double buffer mode. The command is ignored in RGB mode.
SEE ALSO
color, singlebuffer, doublebuffer
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985