set_multiply_blender(3alleg4)

πŸ’– NAME πŸ’–

okay bestie, welcome to the Allegro manual β€” this is the page for set_multiply_blender(3alleg4) πŸ’…. It enables a multiply blender mode. This whole thing lives in the Allegro game programming library. periodt. ✨


✨ SYNOPSIS ✨

the include and signature, exactly:

#include <allegro.h>

void set_multiply_blender(int r, int g, int b, int a);

So yeah, four ints walk into a function: r, g, b, and a. 🌈


πŸ¦‹ DESCRIPTION πŸ¦‹

Enables a multiply blender mode for combining translucent or lit truecolor pixels. It combines the source and destination images, multiplying the colours so you get a darker colour.

And the colour math? It's giving very specific vibes: if a colour is multiplied by white, it remains unchanged; when multiplied by black, it also becomes black. no cap. πŸ’€


🌸 SEE ALSO 🌸


mwah πŸ’‹ this was the Allegro page for set_multiply_blender(3alleg4), version 4.4.3 β€” and that's the footer, bestie. No separate date on the page, so consider this your lil sign-off. πŸŽ€βœ¨