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 π
set_trans_blender(3alleg4)β the translucency bestie π§drawing_mode(3alleg4)β where you actually set your drawing mode, iykyk π
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. ππ
π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms