logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_destroy_shader - Allegro 5 API

Description

       Destroy  a shader.  Any bitmaps which currently use the shader will implicitly 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.

Name

       al_destroy_shader - Allegro 5 API

See Also

al_create_shader(3alleg5)

Allegro reference manual                                                              al_destroy_shader(3alleg5)

Since

       5.1.0

Synopsis

              #include <allegro5/allegro.h>

              void al_destroy_shader(ALLEGRO_SHADER *shader)

See Also