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

frontbuffer Subroutine

Purpose

Enables or disables drawing into the front buffer.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

void frontbuffer(Int32 bool )

FORTRAN Syntax

SUBROUTINE FRONTB(bool)
LOGICAL bool

Description

The frontbuffer subroutine enables drawing into the front frame buffer. In common usage, drawing is done to the back buffer, after which a call to the swapbuffers subroutine is made to exchange buffers. The frontbuffer 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 the value for the state of the front frame buffer. The settings for the bool parameter are:
True = drawing into the front buffer is enabled.
False = drawing into the front buffer is disabled.

The gconfig subroutine sets the front buffer to FALSE.

Implementation Specifics

This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/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

Enabling drawing into the back buffer with the backbuffer subroutine.

Setting the display mode to double buffer mode with the doublebuffer 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.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]