set_color_blender(3)
π set_color_blender π
okay bestie, welcome to the Allegro manual β yes, that Allegro, the game programming library π β and today's main character is set_color_blender. she's a little function with big "make my pixels look cute" energy, and we're gonna learn her fr fr. no cap. π
β¨ NAME β¨
set_color_blender β enables a color blender mode π¦
(and yeah she lives in the Allegro game programming library, she's one of those girls π )
πΈ SYNOPSIS πΈ
#include <allegro.h>
void set_color_blender(int r, int g, int b, int a);
like. the whole vibe is right there. include the header, call the function, four ints, done. iconic. β
π DESCRIPTION π
okay so here's the tea π β calling set_color_blender turns on a color blender mode that's built for combining translucent or lit truecolor pixels. that's literally her whole job.
but here's the part that makes her β¨specialβ¨ and honestly a little bit mysterious:
- she only applies the hue and saturation of the source image to the destination image.
- she does NOT touch the luminance of the destination image. like, not even a little. luminance stays exactly where it was, untouched, unbothered, moisturised, in her lane. π
so if you were expecting her to mess with brightness? she's not doing that. she said "i'm the color girl, not the lighting girl" and honestly? respect. π
ngl bestie, if you need the luminance to actually do something, this is not the function for you β she's very clear about her boundaries.
π₯ SEE ALSO π₯
go read those too, they're her besties and they all hang out in the same group chat. π«Ά
and that's the whole page, you ate it, periodt. πβ¨
this lil rewrite was brought to you by Allegro, version 4.4.3, and the year it dropped β mwah π go make something pretty with your pixels, bestie. π¦π
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms