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(class_name, member_name)    AddSerializableAttributeEnum<decltype(class_name::member_name)>(inRTTI, offsetof(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

#define JPH_ADD_ENUM_ATTRIBUTE ( class_name,
member_name )    AddSerializableAttributeEnum<decltype(class_name::member_name)>(inRTTI, offsetof(class_name, member_name), #member_name);

Function Documentation

◆ AddSerializableAttributeEnum()

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