ALLEGRO_SHADER_PLATFORM man page

ALLEGRO_SHADER_PLATFORM — Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM;

Description

The underlying platform which the ALLEGRO_SHADER(3) 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

Referenced By

al_create_shader(3), ALLEGRO_SHADER(3).

Allegro reference manual