al_set_shader_int(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

πŸ’– 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 🌈


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