getplanes(3G)
getplanes - returns the number of available bitplanes
As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.
NAME getplanes - returns the number of available bitplanes C SPECIFICATION long getplanes() PARAMETERS none FUNCTION RETURN VALUE The returned value of this function is the number of bitplanes available for drawing under the current drawmode. DESCRIPTION getplanes returns the number of bitplanes that are available for drawing under the current drawmode. When the drawmode is NORMALDRAW, the result also depends on the current buffer mode and whether or not multimap mode is active. When the drawmode is CURSORDRAW, getplanes always returns 0, since no direct drawing can be done into the cursor planes. SEE ALSO cmode, drawmode, doublebuffer, getgdesc, multimap, onemap, overlay, RGBmode, singlebuffer, underlay NOTE This routine is available only in immediate mode.