DOKK / manpages / debian 10 / allegro5-doc / ALLEGRO_SHADER_PLATFORM.3alleg5.en
ALLEGRO_SHADER_PLATFORM(3alleg5) ALLEGRO_SHADER_PLATFORM(3alleg5)

ALLEGRO_SHADER_PLATFORM - Allegro 5 API

#include <allegro5/allegro.h>
typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM;
    

The underlying platform which the ALLEGRO_SHADER(3alleg5) is built on top of, which dictates the language used to program the shader.

ALLEGRO_SHADER_AUTO
ALLEGRO_SHADER_GLSL - OpenGL Shading Language
ALLEGRO_SHADER_HLSL - High Level Shader Language (for Direct3D)

5.1.0

Allegro reference manual