22    virtual const char *                    
GetDebugName()
 const override       { 
return mDebugName.c_str(); }
 
#define JPH_EXPORT
Definition: Core.h:236
 
#define JPH_NAMESPACE_END
Definition: Core.h:378
 
#define JPH_NAMESPACE_BEGIN
Definition: Core.h:372
 
std::basic_string< char, std::char_traits< char >, STLAllocator< char > > String
Definition: STLAllocator.h:107
 
#define JPH_DECLARE_SERIALIZABLE_VIRTUAL(linkage, class_name)
Definition: SerializableObject.h:109
 
Class that holds an RGBA color with 8-bits per component.
Definition: Color.h:16
 
static const Color sGrey
Definition: Color.h:65
 
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
 
PhysicsMaterialSimple(const string_view &inName, ColorArg inColor)
Definition: PhysicsMaterialSimple.h:19
 
virtual Color GetDebugColor() const override
Definition: PhysicsMaterialSimple.h:23
 
virtual const char * GetDebugName() const override
Definition: PhysicsMaterialSimple.h:22
 
PhysicsMaterialSimple()=default
Constructor.
 
Simple binary input stream.
Definition: StreamIn.h:13
 
Simple binary output stream.
Definition: StreamOut.h:13