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

backbuffer Subroutine

Purpose

Enables or disables drawing into the back buffer.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void backbuffer(Int32 bool)

FORTRAN Syntax

SUBROUTINE BACKBU(bool)
LOGICAL bool

Description

The backbuffer subroutine enables or disables drawing into the back frame buffer. By default, drawing into the back frame buffer is enabled. In common usage, drawing is done to the back buffer, after which a call to the swapbuffers subroutine is made to exchange buffers. The backbuffer subroutine can be used to override this default.

This routine is useful only in double buffer mode, and is ignored in single buffer mode.

Parameter

bool Specifies a value for the state of the back frame buffer. The settings for the bool parameter are:
True = drawing into the back buffer is enabled.
False = drawing into the back buffer is disabled.

The gconfig subroutine sets the back buffer to True.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 withAIXwindows/3D Feature.

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

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

Enabling drawing into the front buffer with the frontbuffer subroutine.

Finding out which buffers are enabled for writing with the getbuffer subroutine.

Exchanging the front and back buffers with the swapbuffers subroutine.

Understanding the Hardware Used by GL in GL3.2 Version 4 for AIX: Programming Concepts.

Configuring the Frame Buffer, Creating Animated Scenes.


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