Jolt Physics
A multi core friendly Game Physics Engine
|
Go to the source code of this file.
Macros | |
#define | JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS(class_name, member_name, alias_name) AddSerializableAttributeEnum<decltype(class_name::member_name)>(inRTTI, offsetof(class_name, member_name), alias_name); |
#define | JPH_ADD_ENUM_ATTRIBUTE(class_name, member_name) JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS(class_name, member_name, #member_name); |
Functions | |
template<class MemberType > | |
JPH_NAMESPACE_BEGIN void | AddSerializableAttributeEnum (RTTI &inRTTI, uint inOffset, const char *inName) |
#define JPH_ADD_ENUM_ATTRIBUTE | ( | class_name, | |
member_name | |||
) | JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS(class_name, member_name, #member_name); |
#define JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS | ( | class_name, | |
member_name, | |||
alias_name | |||
) | AddSerializableAttributeEnum<decltype(class_name::member_name)>(inRTTI, offsetof(class_name, member_name), alias_name); |
|
inline |