getplanes(3G) getplanes(3G)
getplanes - returns the number of available bitplanes
long getplanes()
none
FUNCTION RETURN VALUE
The returned value of this function is the number of bitplanes available
for drawing under the current drawmode.
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.
cmode, drawmode, doublebuffer, getgdesc, multimap, onemap, overlay,
RGBmode, singlebuffer, underlay
This routine is available only in immediate mode.
PPPPaaaaggggeeee 1111 [ Back ]
|