Jolt Physics
A multi core friendly Game Physics Engine
|
#include <BroadPhaseLayerInterfaceTable.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | BroadPhaseLayerInterfaceTable (uint inNumObjectLayers, uint inNumBroadPhaseLayers) |
void | MapObjectToBroadPhaseLayer (ObjectLayer inObjectLayer, BroadPhaseLayer inBroadPhaseLayer) |
virtual uint | GetNumBroadPhaseLayers () const override |
Return the number of broadphase layers there are. More... | |
virtual BroadPhaseLayer | GetBroadPhaseLayer (ObjectLayer inLayer) const override |
Convert an object layer to the corresponding broadphase layer. More... | |
void | SetBroadPhaseLayerName (BroadPhaseLayer inLayer, const char *inName) |
virtual const char * | GetBroadPhaseLayerName (BroadPhaseLayer inLayer) const override |
Get the user readable name of a broadphase layer (debugging purposes) More... | |
Public Member Functions inherited from BroadPhaseLayerInterface | |
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 |
BroadPhaseLayerInterface implementation. This defines a mapping between object and broadphase layers. This implementation uses a simple table
|
inline |
|
inlineoverridevirtual |
Convert an object layer to the corresponding broadphase layer.
Implements BroadPhaseLayerInterface.
|
inlineoverridevirtual |
Get the user readable name of a broadphase layer (debugging purposes)
Implements BroadPhaseLayerInterface.
|
inlineoverridevirtual |
Return the number of broadphase layers there are.
Implements BroadPhaseLayerInterface.
|
inline |
|
inline |