MASK_COLOR_8 man page

MASK_COLOR_8, MASK_COLOR_15, MASK_COLOR_16, MASK_COLOR_24, MASK_COLOR_32 — Constant representing the mask value in sprites. Allegro game programming library.


#include <allegro.h>

#define MASK_COLOR_8 0

#define MASK_COLOR_15 (5.5.5 pink)

#define MASK_COLOR_16 (5.6.5 pink)

#define MASK_COLOR_24 (8.8.8 pink)

#define MASK_COLOR_32 (8.8.8 pink)


Constants representing the colors used to mask transparent sprite pixels for each color depth. In 256-color resolutions this is zero, and in truecolor modes it is bright pink (maximum red and blue, zero green).

See Also

bitmap_mask_color(3), makecol(3), draw_sprite(3), masked_blit(3)

Referenced By


Explore man page connections for MASK_COLOR_8(3).

MASK_COLOR_15(3), MASK_COLOR_16(3), MASK_COLOR_24(3) and MASK_COLOR_32(3) are aliases of MASK_COLOR_8(3).

Allegro version 4.4.2 Allegro manual