set_difference_blender(3alleg4)

✨ set_difference_blender ✨

okay bestie, so this is a page straight outta the Allegro manual β€” that's the Allegro game programming library, 3alleg4 flavor, and today's main character is a blender mode. πŸ’…


πŸ’– NAME πŸ’–

set_difference_blender β€” bestie, this one turns ON a difference blender mode. That's it, that's the job. It lives in the Allegro game programming library. πŸŽ€


🌸 SYNOPSIS 🌸

#include <allegro.h>

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

no cap, that's the whole vibe right there. πŸ¦‹


πŸ’œ DESCRIPTION πŸ’œ

So like… this enables a difference blender mode, and what that's for is combining translucent or lit truecolor pixels. 🫢

The way it works is literally iconic: the image you get has colours that are calculated by the difference between the source and destination colours. source vs. destination, they do a lil subtraction moment, and that's your pixel. slay. πŸ’€βœ¨


🌈 SEE ALSO 🌈


fr fr, go check those two if you want the full picture. they're the group chat that this function runs with. πŸ’–

k bye, love u, this page was brought to you by Allegro, version 4.4.3 β€” Allegro's manual, set_difference_blender(3alleg4), that's the whole footer, periodt. πŸŽ€πŸ’…πŸ‘‘