Jolt Physics
A multi core friendly Game Physics Engine
|
Interface that the application should implement to allow mapping object layers to broadphase layers. More...
#include <BroadPhaseLayer.h>
Public Member Functions | |
virtual | ~BroadPhaseLayerInterface ()=default |
Destructor. More... | |
virtual uint | GetNumBroadPhaseLayers () const =0 |
Return the number of broadphase layers there are. More... | |
virtual BroadPhaseLayer | GetBroadPhaseLayer (ObjectLayer inLayer) const =0 |
Convert an object layer to the corresponding broadphase layer. More... | |
virtual const char * | GetBroadPhaseLayerName (BroadPhaseLayer inLayer) const =0 |
Get the user readable name of a broadphase layer (debugging purposes) More... | |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Interface that the application should implement to allow mapping object layers to broadphase layers.
|
virtualdefault |
Destructor.
|
pure virtual |
Convert an object layer to the corresponding broadphase layer.
Implemented in BroadPhaseLayerInterfaceMask, and BroadPhaseLayerInterfaceTable.
|
pure virtual |
Get the user readable name of a broadphase layer (debugging purposes)
Implemented in BroadPhaseLayerInterfaceMask, and BroadPhaseLayerInterfaceTable.
|
pure virtual |
Return the number of broadphase layers there are.
Implemented in BroadPhaseLayerInterfaceMask, and BroadPhaseLayerInterfaceTable.