getdisplaymode(3G) — Silicon Graphics
NAME
getdisplaymode − returns the current display mode
SPECIFICATION
C
long getdisplaymode()
FORTRAN
integer*4 function getdis()
Pascal
function getdisplaymode: longint;
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.
| Value | Display Mode | Symbolic Name |
| 0 | RGB single buffer mode | DMRGB |
| 1 | color map single buffer mode | DMSINGLE |
| 2 | color map double buffer mode | DMDOUBLE |
SEE ALSO
doublebuffer, RGBmode, singlebuffer Programming Guide, Section 6.1, Display Modes
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987