Query: clear_zbuffer
OS: debian
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
clear_zbuffer(3alleg4) Allegro manual clear_zbuffer(3alleg4)NAMEclear_zbuffer - Writes a depth value into the given Z-buffer. Allegro game programming library.SYNOPSIS#include <allegro.h> void clear_zbuffer(ZBUFFER *zbuf, float z);DESCRIPTIONWrites z into the given Z-buffer (0 means far away). This function should be used to initialize the Z-buffer before each frame. Actually, low-level routines compare depth of the current pixel with 1/z: for example, if you want to clip polygons farther than 10, you must call clear_zbuffer(zbuf, 0.1).SEE ALSOcreate_zbuffer(3alleg4), set_zbuffer(3alleg4), destroy_zbuffer(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 clear_zbuffer(3alleg4)
| Related Man Pages |
|---|
| exzbuf(3alleg4) - debian |
| exstars(3alleg4) - php |
| exstars(3alleg4) - suse |
| exstars(3alleg4) - opendarwin |
| exzbuf(3alleg4) - netbsd |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| Introduction |
| Detecting unused variables... |
| A (ksh) Library For and From UNIX.com |
| My first PERL incarnation... Audio Oscillograph |