Specifies the function used for depth comparison.
void zfunction(Int32 func)
SUBROUTINE ZFUNCT(func) INTEGER*4 func
The zfunction subroutine compares the z value of the current contents (destination value) of a pixel against the z value for the contents that you want to write to that pixel (source, or incoming, value).
For example, if the func parameter is ZF_LESS and if the source z is less than the destination z, the system overwrites the destination pixel value with the source pixel value.
Note: The operation of this subroutine for the Supergraphics Processor Subsystem is modified. (See "Hardware Considerations".)
|func|| Expects one of eight possible flags used when comparing z values. The available flags are:
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.|
Clearing the color bitplanes and the z-buffer simultaneously with the czclear subroutine.
Initiating z-buffer mode with the zbuffer subroutine.
Selecting depth or color as the source for z comparisons with the zsource subroutine.
AIX Graphics Library Overview, Writemasks and Logical Operations, and Removing Hidden Surfaces.