Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gRGBmask(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gRGBmask()  —  Silicon Graphics

NAME

gRGBmask − returns the current RGB writemask

SPECIFICATION

C
gRGBmask(redm, greenm, bluem)
short *redm, *greenm, *bluem;

FORTRAN
subroutine gRGBma(redm, greenm, bluem)
integer*2 redm, greenm, bluem

Pascal
procedure gRGBmask(var redm, greenm, bluem: Short);

DESCRIPTION

gRGBmask returns the current RGB writemask as three 8-bit masks.  gRGBmask places masks in the low order 8-bits of the locations redm, greenm, and bluem address.  The system must be in RGB mode when this routine executes. 

SEE ALSO

getwritemask, RGBwritemask 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