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  ALLE‐
16       GRO_SHADER(3)  is  actually  a  program  which  has one or more shaders
17       attached.  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 ALLE‐
21       GRO_SHADER_PLATFORM(3) used when creating it.
22

SINCE

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