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

getzbuffer Subroutine

Purpose

Determines whether z-buffering is on or off.

Libraries

Graphics Library

C (libgl.a)

FORTRAN (libfgl.a)

C Syntax

Int32 getzbuffer( )

FORTRAN Syntax

INTEGER*4 FUNCTION GETZBU

Description

The getzbuffer subroutine returns the status of the z-buffer. The z-buffer option to the High-Performance 3-D Color Graphics Processor must be installed before the z-buffer can be turned on.

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

Return Values

False(0) Z-buffering off (the default value).
True(1) Z-buffering on.

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

Clearing the z-buffer with the zclear subroutine.

Initializing z-buffer mode with the zbuffer subroutine.

AIX Graphics Library Overview, Configuring the Frame Buffer, Querying the System, and Removing Hidden Surfaces.


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