
Pixel data format description. More...
Derived from: | None |
Derived by: | None |
Group: | Display (Display) |
#include <ClanLib/display.h>
Class Members:
Construction: | |
Constructs a pixel format description. |
| |
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. |
| |
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. |
| |
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. | |
Pixel format with 32 bit depth, 8 bits per color mask. | |
Pixel format with 24 bit depth, 8 bits per color mask, no alpha. | |
Pixel format with 16 bit depth, 4 bits per color mask. | |
Pixel format with 16 bit depth, 5 bits per color mask, one bit unused. | |
Pixel format with 16 bit depth, 5 bits for red and blue, 6 bits for green. | |
Pixel format with 32 bit depth, 8 bits per color mask. | |
Pixel format with 24 bit depth, 8 bits per color mask, no alpha. | |
Pixel format with 16 bit depth, 4 bits per color mask. | |
Pixel format with 16 bit depth, 5 bits per color mask, one bit unused. | |
Pixel format with 16 bit depth, 5 bits for red and blue, 6 bits for green. |