Query: create_zbuffer
OS: v7
Section: 3alleg4
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
create_zbuffer(3alleg4) Allegro manual create_zbuffer(3alleg4) NAME
create_zbuffer - Creates a Z-buffer for a bitmap. Allegro game programming library. SYNOPSIS
#include <allegro.h> ZBUFFER *create_zbuffer(BITMAP *bmp); DESCRIPTION
Creates a Z-buffer using the size of the BITMAP you are planning to draw on. Several Z-buffers can be defined but only one can be used at the same time, so you must call set_zbuffer() to make this Z-buffer active. RETURN VALUE
Returns the pointer to the ZBUFFER or NULL if there was an error. Remember to destroy the ZBUFFER once you are done with it, to avoid hav- ing memory leaks. SEE ALSO
create_sub_zbuffer(3alleg4), set_zbuffer(3alleg4), clear_zbuffer(3alleg4), destroy_zbuffer(3alleg4), exzbuf(3alleg4) Allegro version 4.4.2 create_zbuffer(3alleg4)
Related Man Pages |
---|
exzbuf(3alleg4) - centos |
exzbuf(3alleg4) - suse |
exzbuf(3alleg4) - osx |
exzbuf(3alleg4) - netbsd |
create_sub_zbuffer(3alleg4) - centos |