getbuffer() — 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 neither buffer is enabled or if the IRIS is not in double buffer mode.
| Value | Buffer Enabled |
| 0 | none |
| 1 | back buffer |
| 2 | front buffer |
| 3 | both buffers |
SEE ALSO
backbuffer, doublebuffer, frontbuffer IRIS Graphics Programming, Section 6.1, Display Modes
NOTE
This routine is available only in immediate mode.
Version 2.5r1 — October 29, 1986