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
15       implicitly stop using the shader.  In multi-threaded programs, be care‐
16       ful  that  no  such  bitmaps are being accessed by other threads at the
17       time.
18
19       As a convenience, if the target bitmap of the calling thread  is  using
20       the shader then the shader is implicitly unused before being destroyed.
21
22       This function does nothing if the shader argument is NULL.
23

SINCE

25       5.1.0
26

SEE ALSO

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