RGB(3)

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

✨ NAME ✨

okay bestie, welcome to RGB(3) from the Allegro manual πŸ’– this page is about RGB β€” a single palette entry, from the Allegro game programming library. that's the whole name section, periodt.

🌸 SYNOPSIS 🌸

#include <allegro.h>

typedef struct RGB

lowkey that's all the synopsis needs. no cap.

πŸŽ€ DESCRIPTION πŸŽ€

unsigned char r, g, b;

so RGB is a palette entry, and it's giving three fields: r, g, and b ✨ it also contains an additional field whose whole job is padding, but ngl you should not usually care about it. if you want the full description on how to obtain/use this structure, go read the chapter called "Palette routines" πŸ“–πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹


mwah πŸ’– this was RGB(3) from the Allegro manual, version 4.4.3, and the footer's source/version is Allegro version 4.4.3 β€” no date listed, bestie. slay, bye πŸ‘‘βœ¨

πŸ“¦ where this page comes from