1ALLEGRO_SHADER(3)                                            ALLEGRO_SHADER(3)
2
3
4

NAME

6       ALLEGRO_SHADER - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro.h>
10
11              typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;
12

DESCRIPTION

14       An  ALLEGRO_SHADER(3)  is  a program that runs on the GPU.  It combines
15       both a vertex and a pixel shader.  (In OpenGL terms,  an  ALLEGRO_SHAD‐
16       ER(3)  is  actually  a  program which has one or more shaders attached.
17       This can be confusing.)
18
19       The source code for the underlying vertex or pixel shader can  be  pro‐
20       vided  either  as GLSL or HLSL, depending on the value of ALLEGRO_SHAD‐
21       ER_PLATFORM(3) used when creating it.
22

SINCE

24       5.1.0
25
26
27
28Allegro reference manual                                     ALLEGRO_SHADER(3)
Impressum