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. The masks are placed in the low order eight-bits of the locations addressed by redm, greenm, and bluem. The system must be in RGB mode when this command is executed.
SEE ALSO
getwritemask, RGBwritemask
NOTE
This command can be used only in immediate mode.
Version 2.4 — May 08, 1986