al_get_current_shader(3)
π
al_get_current_shader(3) π
okay bestie, this oneβs from the Library Functions Manual β itβs literally the Allegro 5 API page for checking which shader is currently doing its thing. π
β¨ NAME β¨
al_get_current_shaderβ Allegro 5 API
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
ALLEGRO_SHADER *al_get_current_shader()
π DESCRIPTION π
This function returns the shader of the target bitmap. If one isnβt being used, it hands you back NULL. Thatβs it, thatβs the whole vibe. π«Ά
π SINCE π
5.2.9 β periodt. π
π¦ SEE ALSO π¦
al_use_shader(3)β go peek at this one too, bestie. π
source: Allegro reference manual; no separate version or date printed on the footer β the page itself says SINCE 5.2.9. xoxo, bye bestie πβ¨
π¦ 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