Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
create_zbuffer(3)		Allegro	manual		     create_zbuffer(3)

NAME
       create_zbuffer -	Creates	a Z-buffer for a bitmap. Allegro game program-
       ming 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 ac-
       tive.

RETURN VALUE
       Returns	the  pointer to	the ZBUFFER or NULL if there was an error. Re-
       member to destroy the ZBUFFER once you are done with it,	to avoid  hav-
       ing memory leaks.

SEE ALSO
       create_sub_zbuffer(3),	  set_zbuffer(3),     clear_zbuffer(3),	   de-
       stroy_zbuffer(3), exzbuf(3)

Allegro				 version 4.4.2		     create_zbuffer(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=create_zbuffer&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help