gRGBmask(3G)gRGBmask(3G)NAME
gRGBmask - returns the current RGB writemask
C SPECIFICATION
void gRGBmask(redm, greenm, bluem)
short *redm, *greenm, *bluem;
PARAMETERS
redm expects a pointer to the location into which you want the system
to copy the current red writemask value.
greenm expects a pointer to the location into which you want the system
to copy the current green writemask value.
bluem expects a pointer to the location into which you want the system
to copy the current blue writemask value.
DESCRIPTION
gRGBmask gets the current RGB writemask as three 8-bit masks and copies
them into the parameters. gRGBmask places masks in the low order 8-bits
of the locations. The system must be in RGB mode when this routine
executes.
SEE ALSO
getwritemask, RGBwritemask
NOTE
This routine is available only in immediate mode.
Page 1