gRGBmask(3G) gRGBmask(3G)
gRGBmask - returns the current RGB writemask
void gRGBmask(redm, greenm, bluem)
short *redm, *greenm, *bluem;
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.
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.
getwritemask, RGBwritemask
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|