getplanes(3G) getplanes(3G)
NAME
getplanes - returns the number of available bitplanes
SPECIFICATION
C long getplanes()
FORTRAN integer*4 function getpla()
DESCRIPTION
getplanes returns the number of bitplanes that are available
in the system and the current drawing mode. The number of
available bitplanes is a function of the number of standard
bitplanes on the system and the current drawing mode. (The
window manager bitplanes and the overlay and underlay
bitplanes are not included in the number of standard
bitplanes.) The table below lists the possible
combinations. C stands for color map mode; X means the
configuration is not supported.
_____________________________________________
| | Number of Bitplanes |
Mode
| | 8 16 24 |
_____________________________________________
| |
RGB X 12 24
| |
RGB double X X 12
| |
C 8 12 12
| |
C double 4 8 12
| |
C-multimap 8 8 8
| |
C-multimap-double 4 8 8
|____________________________________________|
SEE ALSO
cmode, drawmode, doublebuffer, multimap, onemap, RGBmode,
singlebuffer
Programming Guide, Section 2.1, Initialization
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)