YSTest
PreAlpha_b500_20140530
The YSLib Test Project
|
XYZA 特征。 更多...
#include <Video.h>
Public 类型 | |
using | AType = typename ystdex::make_width_int< ABitsN >::unsigned_least_type |
using | BType = typename ystdex::make_width_int< XBitsN >::unsigned_least_type |
using | GType = typename ystdex::make_width_int< YBitsN >::unsigned_least_type |
using | RType = typename ystdex::make_width_int< ZBitsN >::unsigned_least_type |
using | IntegerType = typename ystdex::make_width_int< UIntBitsN >::unsigned_least_type |
using | ArrayType = ystdex::byte[BytesN] |
静态 Public 属性 | |
static yconstexpr size_t | ABitsN = _vA |
static yconstexpr size_t | XBitsN = _vX |
static yconstexpr size_t | YBitsN = _vY |
static yconstexpr size_t | ZBitsN = _vZ |
static yconstexpr size_t | XYBitsN = XBitsN + YBitsN |
static yconstexpr size_t | XYZBitsN = XBitsN + YBitsN + ZBitsN |
static yconstexpr size_t | BitsN = XBitsN + YBitsN + ZBitsN + ABitsN |
static yconstexpr size_t | BytesN = (BitsN + CHAR_BIT - 1) / CHAR_BIT |
static yconstexpr bool | GAligned = XBitsN / CHAR_BIT == XYBitsN / CHAR_BIT |
static yconstexpr bool | RAligned = XYBitsN / CHAR_BIT == XYZBitsN / CHAR_BIT |
static yconstexpr size_t | UIntBitsN = BitsN > 64 ? 64 : BitsN |
static yconstexpr IntegerType | AMask = ((1 << ABitsN) - 1) << XYZBitsN |
static yconstexpr IntegerType | XMask = (1 << XBitsN) - 1 |
static yconstexpr IntegerType | YMask = ((1 << YBitsN) - 1) << XBitsN |
static yconstexpr IntegerType | ZMask = ((1 << ZBitsN) - 1) << XYBitsN |
static yconstexpr size_t | Width = ystdex::integer_width<IntegerType>::value |
XYZA 特征。
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::ArrayType = ystdex::byte[BytesN] |
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::AType = typename ystdex::make_width_int<ABitsN>::unsigned_least_type |
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::BType = typename ystdex::make_width_int<XBitsN>::unsigned_least_type |
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::GType = typename ystdex::make_width_int<YBitsN>::unsigned_least_type |
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::IntegerType = typename ystdex::make_width_int<UIntBitsN>::unsigned_least_type |
using platform::XYZATrait< _vX, _vY, _vZ, _vA >::RType = typename ystdex::make_width_int<ZBitsN>::unsigned_least_type |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |