al_unmap_rgb_f(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

NAME ✨ β€” al_unmap_rgb_f(3) Β· Library Functions Manual

al_unmap_rgb_f β€” your Allegro 5 API bestie for pulling the RGB components out of an ALLEGRO_COLOR while alpha literally just vibes off to the side. Periodt. πŸ’…


SYNOPSIS πŸŽ€

#include <allegro5/allegro.h>

void al_unmap_rgb_f(ALLEGRO_COLOR color, float *r, float *g, float *b)

DESCRIPTION πŸ’–

okay so al_unmap_rgb_f retrieves components of an ALLEGRO_COLOR(3), ignoring alpha. The components range from 0.0f-1.0f. Very normalized, very demure, very much giving useful little helper energy. ✨

This function can be called before Allegro is initialized. Yes bestie, before init β€” it's lowkey main character behavior, no setup required. 🫢


SEE ALSO 🌈


That's the tea, bestie πŸ“ Source/version: Allegro reference manual. Page: al_unmap_rgb_f(3). Date: not listed on this page β€” no cap, we're not inventing one πŸ’€πŸ’…

πŸ“¦ where this page comes from
  • arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms