Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
SerializableAttributeEnum.h File Reference

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)
 

Macro Definition Documentation

◆ JPH_ADD_ENUM_ATTRIBUTE

◆ JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS

Function Documentation

◆ AddSerializableAttributeEnum()

template<class MemberType >
JPH_NAMESPACE_BEGIN void AddSerializableAttributeEnum ( RTTI & inRTTI,
uint inOffset,
const char * inName )
inline