set_screen_blender(3alleg4)

✨ set_screen_blender ✨

okay bestie, so this is a page from the Allegro manual (the Allegro game programming library, version 4.4.3) and it's all about one little function that does a big glow-up for your graphics. no cap. πŸ’–


πŸŽ€ NAME πŸŽ€

set_screen_blender β€” enables a screen blender mode. it's giving Allegro game programming library, and it's giving iconic. πŸ’…


🌸 SYNOPSIS 🌸

#include <allegro.h>

void set_screen_blender(int r, int g, int b, int a);

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, set_screen_blender enables a screen blender mode for combining translucent or lit truecolor pixels. 🫢

and the vibe of this particular blender mode? it lightens the colour of the destination image by multiplying the inverse of the source and destination colours. literally multiplying the inverses, bestie. 😭✨

it's sort of like the opposite of the multiply blender mode β€” like the multiply blender mode's main character mirror image. πŸͺžπŸ‘‘


πŸ’œ SEE ALSO πŸ’œ


and that's the whole page, no crumbs left. πŸ’€ this masterpiece came from Allegro, version 4.4.3, and yeah it's an oldie but she's still slaying. mwah, bye bestie! πŸŽ€πŸ’–βœ¨