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 🌸

πŸ’œ 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 🫢