ALLEGRO_SHADER(3)
π ALLEGRO_SHADER(3) β a whole vibe π
okay so bestie, this page is from the Library Functions Manual and it's all about ALLEGRO_SHADER(3) in the Allegro 5 API. yes, the manual name is literally folded in right there, we love a title moment β¨
πΈ NAME πΈ
ALLEGRO_SHADER β Allegro 5 API
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
typedef struct ALLEGRO_SHADER ALLEGRO_SHADER;
π¦ DESCRIPTION π¦
An ALLEGRO_SHADER(3) is a program that runs on the GPU, no cap. It combines both a vertex and a pixel shader. π«Ά
In OpenGL terms, an ALLEGRO_SHADER(3) is actually a program which has one or more shaders attached β and yes, this can be confusing π. like, the naming is giving "why are we like this" but we move.
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(3) used when creating it. so yeah, platform value decides the source-code language vibe check π
π SINCE π
5.1.0 β that's when this icon showed up β¨
okay bye bestie π«Ά β this came from the Allegro reference manual, page tag ALLEGRO_SHADER(3), and there is no date on this footer, so don't come for me ππ
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms