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

al_get_shader_platform - Allegro 5 API

#include <allegro5/allegro.h>
ALLEGRO_SHADER_PLATFORM al_get_shader_platform(ALLEGRO_SHADER *shader)
    

Returns the platform the shader was created with (either ALLEGRO_SHADER_HLSL or ALLEGRO_SHADER_GLSL).

5.1.6

al_create_shader(3alleg5)

Allegro reference manual