Home | All Classes | Grouped Classes | Index | Search
Pixel data format description. More...
Derived from:
none
Derived by:
none
Group: Display (Display 2D)
#include <ClanLib/display.h>
Construction:
Constructs a pixel format description. |
Attributes:
Returns true if this pixel format is the same as the other one. | |
Returns true if this pixel format is not the same as the other one. | |
Returns the pixel format type (RGB or Indexed). | |
Returns true if format uses a source color key. | |
Returns the depth of the pixel format. | |
Returns the source color key. | |
Returns the red component color mask. | |
Returns the green component color mask. | |
Returns the blue component color mask. | |
Returns the alpha component color mask. |
Statics:
rgba8888 static | Pixel format with 32 bit depth, 8 bits per color mask. |
rgb888 static | Pixel format with 24 bit depth, 8 bits per color mask, no alpha. |
rgba4444 static | Pixel format with 16 bit depth, 4 bits per color mask. |
rgb555 static | Pixel format with 16 bit depth, 5 bits per color mask, one bit unused. |
rgb565 static | Pixel format with 16 bit depth, 5 bits for red and blue, 6 bits for green. |
abgr8888 static | Pixel format with 32 bit depth, 8 bits per color mask. |
bgr888 static | Pixel format with 24 bit depth, 8 bits per color mask, no alpha. |
abgr4444 static | Pixel format with 16 bit depth, 4 bits per color mask. |
bgr555 static | Pixel format with 16 bit depth, 5 bits per color mask, one bit unused. |
bgr565 static | Pixel format with 16 bit depth, 5 bits for red and blue, 6 bits for green. |
Returns the shift of a color mask. | |
Returns the bit count of a color mask. | |
Returns the color mask based on bit count and shift. |
Operations:
Sets the pixel format type (RGB or Indexed). | |
Enable/disable color key. | |
Sets the color key. | |
Sets the depth of the pixel format. | |
Sets the red component color mask. | |
Sets the green component color mask. | |
Sets the blue component color mask. | |
Sets the alpha component color mask. |
Detailed description:
!group=Display/Display 2D! !header=display.h!