ALLEGRO_SHADER(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

🌸 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