#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 Public Attributes | |
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.
|
static |
returns the default alpha value for 100% transparency.
|
static |
returns the 100% value of the component.
|
static |
returns the 0% value of the component.
|
static |
returns the value that represents a zero tolerance of this type
|
static |
returns the value that represents a 8 bit digit tolerance of this pixel type.