ALLEGRO_RENDER_FUNCTION(3alleg5)
π 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_NEVERALLEGRO_RENDER_ALWAYSALLEGRO_RENDER_LESSALLEGRO_RENDER_EQUALALLEGRO_RENDER_LESS_EQUALALLEGRO_RENDER_GREATERALLEGRO_RENDER_NOT_EQUALALLEGRO_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 π¦
al_set_render_state(3alleg5)β that's where you actually go to use these, so like, go read that one next. π
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
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms