set_multiply_blender(3)
π set_multiply_blender(3) π
okay bestie, welcome to the Allegro manual β this is the page for set_multiply_blender, and it's lowkey iconic for anyone messing with truecolor blending. let's get into it π«Ά
β¨ NAME β¨
set_multiply_blender β enables a multiply blender mode. it's part of the Allegro game programming library, and it's giving exactly what it says on the tin π
πΈ SYNOPSIS πΈ
#include <allegro.h>
void set_multiply_blender(int r, int g, int b, int a);
π¦ DESCRIPTION π¦
so what this does is it enables a multiply blender mode, and the whole point of it is combining translucent or lit truecolor pixels. it takes the source and destination images and multiplies the colours together, which produces a darker colour as the result. fr fr.
the way the math vibes out: if you multiply a colour by white, it stays exactly the same β unchanged, untouched, unbothered, main character energy π. but if you multiply it by black, it also becomes black. periodt. π
π SEE ALSO π
okay that's the whole page bestie, no cap π and just so you know, this was Allegro version 4.4.3, from the set_multiply_blender(3) page itself. go forth and blend multiply, slay β¨π
π¦ 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