set_multiply_blender(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

πŸ’– 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