ALLEGRO_SHADER_PLATFORM(3alleg5)
π ALLEGRO_SHADER_PLATFORM π
okay bestie, so this is from the Allegro 5 API manual and it's literally the page for ALLEGRO_SHADER_PLATFORM β¨
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
typedef enum ALLEGRO_SHADER_PLATFORM ALLEGRO_SHADER_PLATFORM;
πΈ DESCRIPTION πΈ
So this enum is the underlying platform that your ALLEGRO_SHADER(3alleg5) gets built on top of, and bestie, that choice is the whole vibe β it's what decides which language you're gonna be programming the shader in π
Like, it's giving "pick your fighter" but for shader languages, no cap.
ALLEGRO_SHADER_AUTOβ picks a platform for you automatically, based on whatever the current display flags are. main character energy, it just handles it πALLEGRO_SHADER_GLSLβ OpenGL Shading Language π¦ALLEGRO_SHADER_HLSLβ High Level Shader Language (this one's for Direct3D) πALLEGRO_SHADER_AUTO_MINIMALβ same energy asALLEGRO_SHADER_AUTO, but it picks a more minimal implementation that may not support alpha testing β οΈ like, it's the lowkey versionALLEGRO_SHADER_GLSL_MINIMALβ Minimal GLSL shader πΈALLEGRO_SHADER_HLSL_MINIMALβ Minimal HLSL shader πALLEGRO_SHADER_HLSL_SM_3_0β HLSL shader using shader model3_0π₯
β SINCE β
5.1.0 β yeah she's been here a minute, iconic behavior π
and that's the whole page, bestie!! every flag, every name, nothing skipped, we ate and left no crumbs π
this lil love letter came to you straight out of the Allegro reference manual, filed under ALLEGRO_SHADER_PLATFORM(3alleg5) π«Ά go build something cute with it, mwah π
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms