getdisplaymode(3G) getdisplaymode(3G)
NAME
getdisplaymode - returns the current display mode
SPECIFICATION
C long getdisplaymode()
FORTRAN integer*4 function getdis()
DESCRIPTION
getdisplaymode returns the current display mode. 0 indicates
RGB single buffer mode; 1 indicates color map, single buffer
mode; 2 indicates color map, double buffer mode; and 5
indicates RGB double buffer mode.
______________________________________
|Value | Display Mode |
______________________________________
| |
0 RGB single buffer mode
| |
1 color map single buffer mode
| |
2 color map double buffer mode
| |
5 RGB double buffer mode
|_____________________________________|
SEE ALSO
cmode, doublebuffer, RGBmode, singlebuffer
Programming Guide, Section 6.3, Double Buffer Mode
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)