Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getcolor(3g) — GL2 W2.5

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: longint;

DESCRIPTION

getcolor returns the current color.  It is an index into the color map, and is meaningful in both single and double buffer mode.  getcolor is ignored in RGB mode. 

SEE ALSO

color, singlebuffer, doublebuffer IRIS Graphics Programming, Section 6.3, Colors and Writemasks

NOTE

This routine is available only in immediate mode. 

Version 2.5  —  April 22, 1987

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