set_luminance_blender(3alleg4)
π NAME π
okay so bestie, meet the main character: set_luminance_blender(3alleg4) from the Allegro manual. She enables a luminance blender mode, and she's part of the Allegro game programming library. no cap. β¨
β¨ SYNOPSIS β¨
lowkey the whole vibe check is right here:
#include <allegro.h>
void set_luminance_blender(int r, int g, int b, int a);
π¦ DESCRIPTION π¦
okay so what does she actually do? She enables a luminance blender mode for combining translucent or lit truecolor pixels. That's the tea. π«
Then: Applies the luminance of the source to the destination. And the plot twist? The colour of the destination is not affected. literally not touched. periodt. π
πΈ SEE ALSO πΈ
set_trans_blender(3alleg4)β go check her too, bestie.drawing_mode(3alleg4)β and this one, iykyk.
π sign-off π
mwah π this was the Allegro manual, version 4.4.3, and the original footer didn't show a date, so we're leaving it iconic and mysterious. byeee π«Ά
π¦ 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