Go to the source code of this file.
◆ NW_G3D_VALIDITY_ASSERT
| #define NW_G3D_VALIDITY_ASSERT NW_G3D_ASSERTMSG(this, "%s::%s: Object not valid.", GetClassName(), __FUNCTION__) |
◆ NW_G3D_RES_COMMON_ALIGN
| #define NW_G3D_RES_COMMON_ALIGN |
( |
| class_name, |
|
|
| alignment ) |
Value:public: \
typedef class_name##Data DataType; \
DataType* ptr() { return this; } \
const DataType* ptr() const { return this; } \
static class_name* ResCast(DataType* ptr) \
static const class_name* ResCast(const DataType* ptr) \
static const char* GetClassName() { return #class_name; } \
private: \
NW_G3D_DISALLOW_COPY_AND_ASSIGN(class_name) \
#define NW_G3D_VALIDITY_ASSERT
Definition g3d_ResCommon.h:11
#define NW_G3D_ASSERT_ADDR_ALIGNMENT(addr, alignment)
Definition g3d_assert.h:36
◆ NW_G3D_RES_COMMON
| #define NW_G3D_RES_COMMON |
( |
| class_name | ) |
|
Value:
#define NW_G3D_RES_COMMON_ALIGN(class_name, alignment)
Definition g3d_ResCommon.h:14