ALLEGRO_RENDER_FUNCTION(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– ALLEGRO_RENDER_FUNCTION πŸ’–

okay bestie, so this is from the Allegro reference manual (the 3alleg5 one, we love her) and it's literally just a lil enum that tells Allegro how to compare the new pixel value against the one that's already chilling in the buffer. that's it. that's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

#include <allegro5/allegro.h>

typedef enum ALLEGRO_RENDER_FUNCTION {

like yes, the synopsis is cut off mid-declaration in the source, no that's not me being lazy, that's just how the page is, bestie. 🫢


🌸 DESCRIPTION 🌸

so ALLEGRO_RENDER_FUNCTION is the type. the possible functions (aka the values you can actually pass in) are these iconic little guys:

  • ALLEGRO_RENDER_NEVER
  • ALLEGRO_RENDER_ALWAYS
  • ALLEGRO_RENDER_LESS
  • ALLEGRO_RENDER_EQUAL
  • ALLEGRO_RENDER_LESS_EQUAL
  • ALLEGRO_RENDER_GREATER
  • ALLEGRO_RENDER_NOT_EQUAL
  • ALLEGRO_RENDER_GREATER_EQUAL

and that's the entire list, no cap. all eight of them, exactly as written, don't go renaming them, don't go merging them, they are who they are and we respect them for it. πŸ’…


⭐ SINCE ⭐

5.1.2 β€” she's been around a minute, she's not new here, show some respect. πŸ‘‘


πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole page, periodt. πŸ’œ

bye bestie, go render something slay βœ¨πŸ’–πŸŽ€

β€” from the Allegro reference manual, ALLEGRO_RENDER_FUNCTION(3alleg5), muah πŸ’‹

πŸ“¦ where this page comes from