Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getmcolor(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getmcolor()  —  Silicon Graphics

NAME

getmcolor - returns a color map entry

SPECIFICATION

C
getmcolor(color, r, g, b)
Colorindex color;
short *r, *g, *b;

FORTRAN
subroutine getmco(color, r, g, b)
integer*4 color
integer*2 r, g, b

Pascal
procedure getmcolor(color: Colorindex; var r, g, b: Short);

DESCRIPTION

getmcolor returns the red, green, and blue components of a color map entry. 

SEE ALSO

mapcolor

NOTE

This command can be used only in immediate mode. 

Version 2.4  —  May 08, 1986

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