ALLEGRO_SHADER(3alleg5)
πΈ NAME πΈ
ALLEGRO_SHADER β Allegro 5 API. That's it, that's the name, no cap π
β¨ SYNOPSIS β¨
like, here's how you bring it into your life:
#include <allegro5/allegro.h>
typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;
π DESCRIPTION π
okay so an ALLEGRO_SHADER(3alleg5) is a program that runs on the GPU β¨ It combines both a vertex and a pixel shader β it's giving ultimate collab energy. (In OpenGL terms, an ALLEGRO_SHADER(3alleg5) is actually a program which has one or more shaders attached. This can be confusing. And like, fair, it is a little confusing, bestie.)
The source code for the underlying vertex or pixel shader can be provided either as GLSL or HLSL, depending on the value of ALLEGRO_SHADER_PLATFORM(3alleg5) used when creating it. So yeah, platform picks the flavor π
π¦ SINCE π¦
5.1.0 β this icon has been serving since then, periodt.
xoxo, this was the ALLEGRO_SHADER(3alleg5) page from the Allegro reference manual π no date on the footer, but the vibe is timeless π«Ά
π¦ 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