CL_PixelFormat Class Reference
[clanDisplay Display]

Pixel utility functions. More...

#include <pixel_format.h>

List of all members.

Static Public Member Functions

Statics

static int get_mask_shift (unsigned int mask)
 Returns the shift of a color mask.
static int get_mask_bits (unsigned int mask)
 Returns the bit count of a color mask.
static unsigned int get_bitmask (int bits, int shift)
 Returns the color mask based on bit count and shift.

Detailed Description

Pixel utility functions.


Member Function Documentation

static unsigned int CL_PixelFormat::get_bitmask ( int  bits,
int  shift 
) [static]

Returns the color mask based on bit count and shift.

static int CL_PixelFormat::get_mask_bits ( unsigned int  mask  )  [static]

Returns the bit count of a color mask.

static int CL_PixelFormat::get_mask_shift ( unsigned int  mask  )  [static]

Returns the shift of a color mask.


The documentation for this class was generated from the following file: