ClanLib
2.3.7
|
Pixel utility functions. More...
#include <pixel_format.h>
Static Public Member Functions | |
Statics | |
static int | get_mask_shift (unsigned int mask) |
Returns the shift of a color mask. More... | |
static int | get_mask_bits (unsigned int mask) |
Returns the bit count of a color mask. More... | |
static unsigned int | get_bitmask (int bits, int shift) |
Returns the color mask based on bit count and shift. More... | |
Pixel utility functions.
|
static |
Returns the color mask based on bit count and shift.
|
static |
Returns the bit count of a color mask.
|
static |
Returns the shift of a color mask.