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. | |
virtual BroadPhaseLayer | GetBroadPhaseLayer (ObjectLayer inLayer) const override |
Convert an object layer to the corresponding broadphase layer. | |
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) | |
Public Member Functions inherited from BroadPhaseLayerInterface | |
virtual | ~BroadPhaseLayerInterface ()=default |
Destructor. | |
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 |