22 virtual const char *
GetDebugName()
const override {
return mDebugName.c_str(); }
#define JPH_EXPORT
Definition: Core.h:227
#define JPH_NAMESPACE_END
Definition: Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:361
std::basic_string< char, std::char_traits< char >, STLAllocator< char > > String
Definition: STLAllocator.h:82
#define JPH_DECLARE_SERIALIZABLE_VIRTUAL(linkage, 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:62
Definition: PhysicsMaterial.h:23
virtual void RestoreBinaryState(StreamIn &inStream)
This function should not be called directly, it is used by sRestoreFromBinaryState.
Definition: PhysicsMaterial.cpp:25
virtual void SaveBinaryState(StreamOut &inStream) const
Saves the contents of the material in binary form to inStream.
Definition: PhysicsMaterial.cpp:20
Sample implementation of PhysicsMaterial that just holds the needed properties directly.
Definition: PhysicsMaterialSimple.h:13
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:13
Simple binary output stream.
Definition: StreamOut.h:13