Enables or disables drawing into the front buffer.
FORTRAN (libfgl.a)
void frontbuffer(Int32 bool )
SUBROUTINE FRONTB(bool) LOGICAL bool
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.
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. |
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
/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. |
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.