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

FreeBSD Manual Pages

  
 
  

home | help
al_destroy_shader(3)	   Library Functions Manual	  al_destroy_shader(3)

NAME
       al_destroy_shader - Allegro 5 API

SYNOPSIS
	      #include <allegro5/allegro.h>

	      void al_destroy_shader(ALLEGRO_SHADER *shader)

DESCRIPTION
       Destroy	a shader.  Any bitmaps which currently use the shader will im-
       plicitly	stop using the shader.	In multi-threaded programs, be careful
       that no such bitmaps are	being accessed by other	threads	at the time.

       As a convenience, if the	target bitmap of the calling thread  is	 using
       the shader then the shader is implicitly	unused before being destroyed.

       This function does nothing if the shader	argument is NULL.

SINCE
       5.1.0

SEE ALSO
       al_create_shader(3)

Allegro	reference manual				  al_destroy_shader(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=al_destroy_shader&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help