增加材质和纹理
This commit is contained in:
@@ -10,6 +10,7 @@ class MathUtil
|
||||
public:
|
||||
static DV_CORE_API size_t ComponentSize(ComponentType ct);
|
||||
static DV_CORE_API size_t DataTypeSize(DataType dt);
|
||||
static DV_CORE_API size_t PixelSize(PixelFormat pixelFormat);
|
||||
|
||||
//count the number of bits set in v
|
||||
static DV_CORE_API uint32_t popcount(uint8_t v);
|
||||
|
||||
@@ -235,6 +235,11 @@ public:
|
||||
public:
|
||||
// special points
|
||||
static DV_CORE_API const TVector4 ZERO;
|
||||
static DV_CORE_API const TVector4 ONE;
|
||||
static DV_CORE_API const TVector4 UNIT_X;
|
||||
static DV_CORE_API const TVector4 UNIT_Y;
|
||||
static DV_CORE_API const TVector4 UNIT_Z;
|
||||
static DV_CORE_API const TVector4 UNIT_W;
|
||||
static DV_CORE_API const TVector4 WHITE;
|
||||
static DV_CORE_API const TVector4 BLACK;
|
||||
static DV_CORE_API const TVector4 RED;
|
||||
|
||||
Reference in New Issue
Block a user