gRGBmask(3G) — 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 Programming Guide, Section 6.3, Colors and Writemasks
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987