getbuffer() — Silicon Graphics Beta Release
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. 1, the default, means that the back buffer is enabled; 2 means that the front buffer is enabled; and 3 means that both are enabled. getbuffer returns 0 if neither buffer is enabled or the IRIS is not in double buffer mode.
| Value | Buffer Enabled |
| 0 | neither |
| 1 | back buffer |
| 2 | front buffer |
| 3 | both buffers |
SEE ALSO
backbuffer, doublebuffer, frontbuffer
NOTE
This command can be used only in immediate mode.
Version 2.3 — July 04, 1985