#include <gfx_image_pixelformat_template.h>
Template class offers properties of a pixel depth. The values All Pixel Depths need to define the full set of type aliases and static vars.
Public Types |
|
using | PIXELTOLERANCE_ABSTYPE = Int32 |
using | SUM_TYPE = PIXELDEPTH |
静态公共属性 |
|
static const PIXELDEPTH | DEFAULTALPHA_VALUE |
static const PIXELDEPTH | MAXPIXEL_VALUE |
static const PIXELDEPTH | ZEROPIXEL_VALUE |
static const PIXELDEPTH | PIXELTOLERANCE_ZERO |
static const PIXELDEPTH | PIXELTOLERANCE_ONE |
using PIXELTOLERANCE_ABSTYPE = Int32 |
returns the data type if using the absolute type.
using SUM_TYPE = PIXELDEPTH |
returns the data type if pixel values will be added.
const PIXELDEPTH DEFAULTALPHA_VALUE | static |
returns the default alpha value for 100% transparency.
const PIXELDEPTH MAXPIXEL_VALUE | static |
returns the 100% value of the component.
const PIXELDEPTH ZEROPIXEL_VALUE | static |
returns the 0% value of the component.
const PIXELDEPTH PIXELTOLERANCE_ZERO | static |
returns the value that represents a zero tolerance of this type
const PIXELDEPTH PIXELTOLERANCE_ONE | static |
returns the value that represents a 8 bit digit tolerance of this pixel type.