TW_TYPE_COLOR32,// 32 bits color. Order is RGBA if API is OpenGL or Direct3D10, and inversed if API is Direct3D9 (can be modified by defining 'colorOrder=...', see doc)
TW_TYPE_COLOR3F,// 3 floats color. Order is RGB.
TW_TYPE_COLOR4F,// 4 floats color. Order is RGBA.
TW_TYPE_CDSTRING,// Null-terminated C Dynamic String (pointer to an array of char dynamically allocated with malloc/realloc/strdup)
#ifdef __cplusplus
# if defined(_MSC_VER) && (_MSC_VER == 1600)
TW_TYPE_STDSTRING=(0x2ffe0000+sizeof(std::string)),// VS2010 C++ STL string (std::string)
# else
TW_TYPE_STDSTRING=(0x2fff0000+sizeof(std::string)),// C++ STL string (std::string)
# endif
#endif // __cplusplus
TW_TYPE_QUAT4F=TW_TYPE_CDSTRING+2,// 4 floats encoding a quaternion {qx,qy,qz,qs}
TW_TYPE_QUAT4D,// 4 doubles encoding a quaternion {qx,qy,qz,qs}
TW_TYPE_DIR3F,// direction vector represented by 3 floats
TW_TYPE_DIR3D// direction vector represented by 3 doubles
}TwType;
#define TW_TYPE_CSSTRING(n) ((TwType)(0x30000000+((n)&0xfffffff))) // Null-terminated C Static String of size n (defined as char[n], with n<2^28)