ALLEGRO_SHADER_PLATFORM(1) Allegro 5 API

SYNOPSIS


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

DESCRIPTION

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)

SINCE

5.1.0