Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getbuffer(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

getbuffer(3G)  —  Silicon Graphics

NAME

getbuffer − indicates which buffers are enabled for writing

SPECIFICATION

C
long getbuffer()

FORTRAN
integer*4 function getbuf()

Pascal
function getbuffer: longint;

DESCRIPTION

getbuffer indicates which buffers are enabled for writing in double buffer mode.  1, the default, indicates the back buffer is enabled; 2 indicates the front buffer is enabled; and 3 indicates that both buffers are enabled. 

getbuffer returns 0 if both buffers are disabled or if the system is not in double buffer mode. 

Value Buffer Enabled Symbolic Name
0 none NOBUFFER
1 back buffer BCKBUFFER
2 front buffer FRNTBUFFER
3 both buffers BOTHBUFFERS

SEE ALSO

backbuffer, doublebuffer, frontbuffer Programming Guide, Section 6.1, Display Modes

NOTE

This routine is available only in immediate mode. 

Version 3.6  —  December 20, 1987

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