set_dissolve_blender(3alleg4)

✨ set_dissolve_blender ✨

okay bestie so this is a page from the Allegro manual β€” that's the Allegro game programming library, a whole 3D... jk not 3D, a whole game dev toolkit, and this particular little icon is set_dissolve_blender πŸ’…


🌸 NAME 🌸

set_dissolve_blender β€” turns on a dissolve blender mode, no cap. it's part of the Allegro game programming library πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <allegro.h>

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

like that's it. that's the whole summoning ritual 🫢


πŸ’– DESCRIPTION πŸ’–

okay so picture this: you call set_dissolve_blender and it enables a dissolve blender mode ✨ β€” and what that mode does is it combines translucent or lit truecolor pixels together.

the way it works is so satisfying actually: it just randomly replaces the colours of some pixels in the destination image with the colours from the source image πŸ¦‹ like a lil sparkle filter made of chaos.

and how many pixels get swapped out? that's all on the alpha value, bestie. higher alpha = more pixels replaced. you get the idea :). literally the vibes scale from "barely there" to "full glitter explosion" πŸŽ€βœ¨

the parameters are:

  • r, g, b, a β€” the red, green, blue and alpha values for the blender πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘

go read those too, they're part of the same friend group fr fr 🫢


that's the whole page, and yeah β€” Allegro, version 4.4.3. slay, go dissolve some pixels πŸ’–πŸ’…βœ¨