al_get_shader_platform man page

al_get_shader_platform — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

ALLEGRO_SHADER_PLATFORM al_get_shader_platform(ALLEGRO_SHADER *shader)

Description

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

Since

5.1.6

See Also

al_create_shader(3)

Referenced By

al_create_shader(3).

Allegro reference manual