Foundation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
Foundation::Examples::JoltPhysicsWorld::Impl Struct Reference

Classes

struct  BodySlot
 
struct  ShapeSlot
 

Public Member Functions

 Impl (Core::JobSystem *jobs, PhysicsWorldDesc const &desc)
 
ShapeSlotResolveShape (PhysicsShapeHandle handle)
 
ShapeSlot const * ResolveShape (PhysicsShapeHandle handle) const
 
BodySlotResolveBody (PhysicsBodyHandle handle)
 
BodySlot const * ResolveBody (PhysicsBodyHandle handle) const
 
void DestroyBodySlot (BodySlot &slot)
 

Public Attributes

Core::Allocatorallocator {GLOBAL_ALLOC}
 
JPH::TempAllocatorImpl tempAllocator
 
FoundationJoltJobSystem jobSystem
 
BPLayerInterfaceImpl broadPhaseLayerInterface
 
ObjectVsBroadPhaseLayerFilterImpl objectVsBroadPhaseLayerFilter
 
ObjectLayerPairFilterImpl objectLayerPairFilter
 
JPH::PhysicsSystem physicsSystem
 
Core::Vector< ShapeSlotshapes
 
Core::Vector< BodySlotbodies
 
Core::Vector< uint32_t > freeShapes
 
Core::Vector< uint32_t > freeBodies
 

Constructor & Destructor Documentation

◆ Impl()

Foundation::Examples::JoltPhysicsWorld::Impl::Impl ( Core::JobSystem jobs,
PhysicsWorldDesc const &  desc 
)
inline

Member Function Documentation

◆ DestroyBodySlot()

void Foundation::Examples::JoltPhysicsWorld::Impl::DestroyBodySlot ( BodySlot slot)
inline

◆ ResolveBody() [1/2]

BodySlot * Foundation::Examples::JoltPhysicsWorld::Impl::ResolveBody ( PhysicsBodyHandle  handle)
inline

◆ ResolveBody() [2/2]

BodySlot const * Foundation::Examples::JoltPhysicsWorld::Impl::ResolveBody ( PhysicsBodyHandle  handle) const
inline

◆ ResolveShape() [1/2]

ShapeSlot * Foundation::Examples::JoltPhysicsWorld::Impl::ResolveShape ( PhysicsShapeHandle  handle)
inline

◆ ResolveShape() [2/2]

ShapeSlot const * Foundation::Examples::JoltPhysicsWorld::Impl::ResolveShape ( PhysicsShapeHandle  handle) const
inline

Member Data Documentation

◆ allocator

Core::Allocator* Foundation::Examples::JoltPhysicsWorld::Impl::allocator {GLOBAL_ALLOC}

◆ bodies

Core::Vector<BodySlot> Foundation::Examples::JoltPhysicsWorld::Impl::bodies

◆ broadPhaseLayerInterface

BPLayerInterfaceImpl Foundation::Examples::JoltPhysicsWorld::Impl::broadPhaseLayerInterface

◆ freeBodies

Core::Vector<uint32_t> Foundation::Examples::JoltPhysicsWorld::Impl::freeBodies

◆ freeShapes

Core::Vector<uint32_t> Foundation::Examples::JoltPhysicsWorld::Impl::freeShapes

◆ jobSystem

FoundationJoltJobSystem Foundation::Examples::JoltPhysicsWorld::Impl::jobSystem

◆ objectLayerPairFilter

ObjectLayerPairFilterImpl Foundation::Examples::JoltPhysicsWorld::Impl::objectLayerPairFilter

◆ objectVsBroadPhaseLayerFilter

ObjectVsBroadPhaseLayerFilterImpl Foundation::Examples::JoltPhysicsWorld::Impl::objectVsBroadPhaseLayerFilter

◆ physicsSystem

JPH::PhysicsSystem Foundation::Examples::JoltPhysicsWorld::Impl::physicsSystem

◆ shapes

Core::Vector<ShapeSlot> Foundation::Examples::JoltPhysicsWorld::Impl::shapes

◆ tempAllocator

JPH::TempAllocatorImpl Foundation::Examples::JoltPhysicsWorld::Impl::tempAllocator

The documentation for this struct was generated from the following file: