Returns the bit depth for the mode.
Macros | |
| #define | B3D_BITDEPTH(mode) |
| #define | B3D_COLOR_MODE(mode) |
| #define | B3D_SETDEPTH(depth) |
| #define | B3D_IS_CHAR(mode) |
| #define | B3D_IS_UWORD(mode) |
| #define | B3D_IS_FLOAT(mode) |
| #define B3D_BITDEPTH | ( | mode | ) |
| #define B3D_COLOR_MODE | ( | mode | ) |
Returns the COLORMODE for the mode.
| #define B3D_SETDEPTH | ( | depth | ) |
Sets the depth color mode.
| #define B3D_IS_CHAR | ( | mode | ) |
Checks if the bit depth mode is BITDEPTH_UCHAR.
| #define B3D_IS_UWORD | ( | mode | ) |
Checks if the bit depth mode is BITDEPTH_UWORD.
| #define B3D_IS_FLOAT | ( | mode | ) |
Checks if the bit depth mode is BITDEPTH_FLOAT.