al_set_shader_bool(3)
π
al_set_shader_bool(3) π
okay so this page is from the Library Functions Manual, bestie β it's al_set_shader_bool(3), and the whole thing is the Allegro 5 API. Let's go, because this one is lowkey iconic. β¨
πΈ NAME πΈ
al_set_shader_bool β Allegro 5 API. literally the name, the legend, the main character. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_set_shader_bool(const char *name, bool b)
π DESCRIPTION π
okay so what it does: sets a boolean uniform of the target bitmapβs shader. that's the whole assignment, no cap. π
It returns true on success. Otherwise it returns false, e.g. if the uniform by that name does not exist in the shader. so if the shader is giving βnever heard of her,β you get false β check that uniform name, bestie. π«Ά
π SINCE π
5.1.6 β it's been around since then, periodt. π¦
π₯ SEE ALSO π₯
al_use_shader(3)β the other page to peek at, iykyk. π
that's the whole page, bestie β source: Allegro reference manual Β· footer page name: al_set_shader_bool(3) Β· date/version: not separately listed in the footer. π
π¦ 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