getdisplaymode() — 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 mode; 1 indicates single buffer mode; and 2 indicates double buffer mode.
| Value | Display Mode |
| 0 | RGB mode |
| 1 | single buffer mode |
| 2 | double buffer mode |
SEE ALSO
doublebuffer, RGBmode, singlebuffer IRIS Graphics Programming, Section 6.1, Display Modes
NOTE
This routine is available only in immediate mode.
Version 2.5r1 — October 29, 1986