RavEngine
Loading...
Searching...
No Matches
physx::PxBroadPhaseDesc Class Reference

Broadphase descriptor. More...

#include <PxBroadPhase.h>

Public Member Functions

 PxBroadPhaseDesc (PxBroadPhaseType::Enum type=PxBroadPhaseType::eLAST)
 
PX_INLINE bool isValid () const
 

Public Attributes

PxBroadPhaseType::Enum mType
 Desired broadphase implementation.
 
PxU64 mContextID
 Context ID for profiler. See PxProfilerCallback.
 
PxCudaContextManager * mContextManager
 (GPU) CUDA context manager, must be provided for PxBroadPhaseType::eGPU.
 
PxU32 mFoundLostPairsCapacity
 (GPU) Capacity of found and lost buffers allocated in GPU global memory. This is used for the found/lost pair reports in the BP.
 
bool mDiscardStaticVsKinematic
 Static-vs-kinematic filtering flag. Not supported by PxBroadPhaseType::eGPU.
 
bool mDiscardKinematicVsKinematic
 kinematic-vs-kinematic filtering flag. Not supported by PxBroadPhaseType::eGPU.
 

Detailed Description

Broadphase descriptor.

This structure is used to create a standalone broadphase. It captures all the parameters needed to initialize a broadphase.

For the GPU broadphase (PxBroadPhaseType::eGPU) it is necessary to provide a CUDA context manager.

The kinematic filtering flags are currently not supported by the GPU broadphase. They are used to dismiss pairs that involve kinematic objects directly within the broadphase.

See also
PxCreateBroadPhase

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