al_set_shader_int(3)
π NAME π
al_set_shader_int β Allegro 5 API, living its best life in the Library Functions Manual β¨
okay so bestie, this page is all about al_set_shader_int, and the footer source for it is the Allegro reference manual π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_set_shader_int(const char *name, int i)
π«Ά DESCRIPTION π«Ά
This function sets an integer uniform of the current target bitmapβs shader. That's literally the whole gig, 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 name isn't matching, it's giving a false instead π
π SINCE π
5.1.0 β iconic since then β
π SEE ALSO π
al_use_shader(3)β bestie, go check this one out too π¦
cute lil sign-off: source is the Allegro reference manual, title is al_set_shader_int(3), and the footer didn't include a date β so no invented tea here, mwah π
π¦ 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