1create_zbuffer(3) Allegro manual create_zbuffer(3)
2
3
4
6 create_zbuffer - Creates a Z-buffer for a bitmap. Allegro game programā
7 ming library.
8
10 #include <allegro.h>
11
12
13 ZBUFFER *create_zbuffer(BITMAP *bmp);
14
16 Creates a Z-buffer using the size of the BITMAP you are planning to
17 draw on. Several Z-buffers can be defined but only one can be used at
18 the same time, so you must call set_zbuffer() to make this Z-buffer
19 active.
20
22 Returns the pointer to the ZBUFFER or NULL if there was an error.
23 Remember to destroy the ZBUFFER once you are done with it, to avoid
24 having memory leaks.
25
26
28 create_sub_zbuffer(3), set_zbuffer(3), clear_zbuffer(3),
29 destroy_zbuffer(3), exzbuf(3)
30
31
32
33Allegro version 4.4.2 create_zbuffer(3)