set_burn_blender(3alleg4)
set_burn_blender π β¨
okay bestie, we're in the Allegro manual, page set_burn_blender(3alleg4), and this one is lowkey iconic β it's the burn blender, the one that makes things go dark and moody on purpose. no cap. π
β¨ NAME β¨
set_burn_blender β enables a burn blender mode. part of the Allegro game programming library, bestie. π¦
πΈ SYNOPSIS πΈ
#include <allegro.h>
void set_burn_blender(int r, int g, int b, int a);
like, four little ints. r, g, b, a. that's the whole vibe. π«Ά
π DESCRIPTION π
so what this does is it enables a burn blender mode β and that blender mode is for combining translucent or lit truecolor pixels. π¨
here's the tea: the lightness values of the colours of the source image reduce the lightness of the destination image, which darkens the image. so it's giving "burn" fr fr β light stuff burns away the light underneath. the brighter the source, the darker the destination ends up. periodt. π₯
π SEE ALSO π
π reminder bestie:set_burn_blendertakesint r, int g, int b, int aβ don't skip the alpha, she's part of the friend group too. π
and that's the whole page, no crumbs left. this came to you straight from the Allegro manual, version 4.4.3, under the name set_burn_blender(3alleg4) β go forth and darken some pixels, you absolute main character. ππβ
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms