1al_destroy_shader(3)                                      al_destroy_shader(3)
2
3
4

NAME

6       al_destroy_shader - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              void al_destroy_shader(ALLEGRO_SHADER *shader)
12

DESCRIPTION

14       Destroy  a shader.  Any bitmaps which currently use the shader will im‐
15       plicitly stop using the shader.  In multi-threaded programs, be careful
16       that no such bitmaps are being accessed by other threads at the time.
17
18       As  a  convenience, if the target bitmap of the calling thread is using
19       the shader then the shader is implicitly unused before being destroyed.
20
21       This function does nothing if the shader argument is NULL.
22

SINCE

24       5.1.0
25

SEE ALSO

27       al_create_shader(3)
28
29
30
31Allegro reference manual                                  al_destroy_shader(3)
Impressum