Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcolor(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getcolor()  —  Silicon Graphics

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.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026