1al_attach_shader_source_file(3)                al_attach_shader_source_file(3)
2
3
4

NAME

6       al_attach_shader_source_file - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              bool al_attach_shader_source_file(ALLEGRO_SHADER *shader,
12                 ALLEGRO_SHADER_TYPE type, const char *filename)
13

DESCRIPTION

15       Like  al_attach_shader_source(3)  but  reads  the  source  code for the
16       shader from the named file.
17
18       Returns true on success and false on error, in which case the error log
19       is updated.  The error log can be retrieved with al_get_shader_log(3).
20

SINCE

22       5.1.0
23

SEE ALSO

25       al_attach_shader_source(3), al_build_shader(3), al_get_shader_log(3)
26
27
28
29Allegro reference manual                       al_attach_shader_source_file(3)
Impressum