Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getdisplaym(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026