logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

al_get_shader_platform - Allegro 5 API

Description

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

Name

       al_get_shader_platform - Allegro 5 API

See Also

al_create_shader(3alleg5)

Allegro reference manual                                                         al_get_shader_platform(3alleg5)

Since

       5.1.6

Synopsis

              #include <allegro5/allegro.h>

              ALLEGRO_SHADER_PLATFORM al_get_shader_platform(ALLEGRO_SHADER *shader)

See Also