22 virtual const char *
GetDebugName()
const override {
return mDebugName.c_str(); }
#define JPH_NAMESPACE_END
Definition Core.h:240
#define JPH_NAMESPACE_BEGIN
Definition Core.h:234
std::basic_string< char, std::char_traits< char >, STLAllocator< char > > String
Definition STLAllocator.h:82
#define JPH_DECLARE_SERIALIZABLE_VIRTUAL(class_name)
Definition SerializableObject.h:100
Class that holds an RGBA color with 8-bits per component.
Definition Color.h:16
static const Color sGrey
Definition Color.h:58
Definition PhysicsMaterial.h:23
Sample implementation of PhysicsMaterial that just holds the needed properties directly.
Definition PhysicsMaterialSimple.h:13
virtual void RestoreBinaryState(StreamIn &inStream) override
This function should not be called directly, it is used by sRestoreFromBinaryState.
Definition PhysicsMaterialSimple.cpp:30
virtual void SaveBinaryState(StreamOut &inStream) const override
Saves the contents of the material in binary form to inStream.
Definition PhysicsMaterialSimple.cpp:22
virtual Color GetDebugColor() const override
Definition PhysicsMaterialSimple.h:23
virtual const char * GetDebugName() const override
Definition PhysicsMaterialSimple.h:22
Simple binary input stream.
Definition StreamIn.h:11
Simple binary output stream.
Definition StreamOut.h:11