al_unmap_rgb
void al_unmap_rgb(ALLEGRO_COLOR color,
unsigned char *r, unsigned char *g, unsigned char *b)
Introduced in 5.0.0
Retrieves components of an ALLEGRO_COLOR, ignoring alpha Components will range from 0-255.
See also: al_unmap_rgba, al_unmap_rgba_f, al_unmap_rgb_f
Examples: ex_draw
Most helpful discussions:
- [A5] al_get_pixel (2)
- upgrading tank war codebase to allegro 5
- Bitmaps and multi-threading
- Nine Patch - Drawing issue
- Allegro5 transparent bitamp .bmp 24 bit
- how to : Bitmap Color Mask
- Comparing Colors works sometimes
- input responsiveness
- [A5] how to draw a rectangle filled with a gradient?
- [A5] Allegro Key Repeating
Other recent discussions: