#define JPH_NAMESPACE_END
Definition Core.h:240
#define JPH_NAMESPACE_BEGIN
Definition Core.h:234
#define JPH_DECLARE_SERIALIZABLE_ABSTRACT(class_name)
Definition SerializableObject.h:111
Definition CollisionGroup.h:20
Abstract class that checks if two CollisionGroups collide.
Definition GroupFilter.h:18
virtual void SaveBinaryState(StreamOut &inStream) const
Saves the contents of the group filter in binary form to inStream.
Definition GroupFilter.cpp:19
virtual void RestoreBinaryState(StreamIn &inStream)
This function should not be called directly, it is used by sRestoreFromBinaryState.
Definition GroupFilter.cpp:24
virtual bool CanCollide(const CollisionGroup &inGroup1, const CollisionGroup &inGroup2) const =0
Check if two groups collide.
static GroupFilterResult sRestoreFromBinaryState(StreamIn &inStream)
Creates a GroupFilter of the correct type and restores its contents from the binary stream inStream.
Definition GroupFilter.cpp:29
Definition Reference.h:101
Definition Reference.h:35
Helper class that either contains a valid result or an error.
Definition Result.h:15
Definition SerializableObject.h:147
Simple binary input stream.
Definition StreamIn.h:11
Simple binary output stream.
Definition StreamOut.h:11