[ Previous | Next | Contents | Glossary | Home | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

getbuffer Subroutine

Purpose

Indicates which buffers are enabled for writing.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getbuffer( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETBUF

Description

The getbuffer subroutine indicates which buffers are enabled for writing in double buffer mode.

Note: This subroutine cannot be used to add to a display list.

Return Values

Symbolic Name

C FORTRAN Buffer Enabled
NOBUFFER NOBUFF None
BCKBUFFER BCKBUF Back buffer (default)
FRNTBUFFER FRNTBU Front buffer
BOTHBUFFERS BOTHBU Both buffers
DRAWZBUFFER DRAWZB Z-buffer drawing

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindowsFeature.

Files

/usr/include/gl/gl.h Contains C language constant and variable type definitions for GL.
/usr/include/gl/fgl.h Contains FORTRAN constant and variable type definitions for GL.

Related Information

Enabling updating in the back buffer with the backbuffer subroutine.

Setting the display mode to double buffer mode with the doublebuffer subroutine.

Enabling updating in the front buffer with the frontbuffer subroutine.

Exchanging the front and back buffers with the swapbuffers subroutine.

Enabling drawing in the zbuffer with the zdraw subroutine.

Understanding the Hardware Used by GL, Configuring the Frame Buffer, and Querying the System in GL3.2 Version 4 for AIX: Programming Concepts.

Creating Animated Scenes.


[ Previous | Next | Contents | Glossary | Home | Search ]