RGB_MAP(3)
π RGB_MAP π
okay so bestie, welcome to the RGB_MAP page from the Allegro manual β yes, the Allegro, the game programming library, version 4.4.3, she's iconic, she's legacy, she's still here. β¨ This whole page is one tiny struct that does one extremely useful thing, and we're gonna get into it. π
πΈ NAME πΈ
RGB_MAP β literally just stores an rgb map so your conversions can go zoom. π¨ Part of the Allegro game programming library, no cap. π«Ά
β¨ SYNOPSIS β¨
#include <allegro.h>
typedef struct RGB_MAP
that's it, that's the whole vibe check. π
π¦ DESCRIPTION π¦
okay so here's the actual meat of the struct, the one field, the main character: π
unsigned char data[32][32][32];
and that's the entire struct. 32 by 32 by 32, three whole dimensions, a little cube of unsigned char energy. π
now, for the how do I even use this part β the manual is very much giving "go read the chapter", and honestly? valid. π You want the chapter "Converting between color formats" because that's where the description of how to obtain and how to use this structure lives. Not here. There. Go look. π
fr fr, don't just stare at the struct and hope it explains itself. the chapter is the whole point. π
π SEE ALSO π
go be nosy, bestie, these are all friends of the family: π«Ά
and that's the page!! ty for reading, you ate that π β¨
this has been Allegro, version 4.4.3, signing off β mwah ππ¦π
π¦ 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