Bullet Collision Detection & Physics Library
|
SpuGatheringCollisionDispatcher can use SPU to gather and calculate collision detection Time of Impact, Closest Points and Penetration Depth. More...
#include <SpuGatheringCollisionDispatcher.h>
Protected Attributes | |
class btThreadSupportInterface * | m_threadInterface |
unsigned int | m_maxNumOutstandingTasks |
Protected Attributes inherited from btCollisionDispatcher | |
int | m_dispatcherFlags |
btAlignedObjectArray < btPersistentManifold * > | m_manifoldsPtr |
btManifoldResult | m_defaultManifoldResult |
btNearCallback | m_nearCallback |
btPoolAllocator * | m_collisionAlgorithmPoolAllocator |
btPoolAllocator * | m_persistentManifoldPoolAllocator |
btCollisionAlgorithmCreateFunc * | m_doubleDispatch [MAX_BROADPHASE_COLLISION_TYPES][MAX_BROADPHASE_COLLISION_TYPES] |
btCollisionConfiguration * | m_collisionConfiguration |
Private Attributes | |
SpuCollisionTaskProcess * | m_spuCollisionTaskProcess |
Additional Inherited Members | |
Public Types inherited from btCollisionDispatcher | |
enum | DispatcherFlags { CD_STATIC_STATIC_REPORTED = 1, CD_USE_RELATIVE_CONTACT_BREAKING_THRESHOLD = 2, CD_DISABLE_CONTACTPOOL_DYNAMIC_ALLOCATION = 4 } |
Static Public Member Functions inherited from btCollisionDispatcher | |
static void | defaultNearCallback (btBroadphasePair &collisionPair, btCollisionDispatcher &dispatcher, const btDispatcherInfo &dispatchInfo) |
SpuGatheringCollisionDispatcher can use SPU to gather and calculate collision detection Time of Impact, Closest Points and Penetration Depth.
Definition at line 38 of file SpuGatheringCollisionDispatcher.h.
SpuGatheringCollisionDispatcher::SpuGatheringCollisionDispatcher | ( | class btThreadSupportInterface * | threadInterface, |
unsigned int | maxNumOutstandingTasks, | ||
btCollisionConfiguration * | collisionConfiguration | ||
) |
Definition at line 32 of file SpuGatheringCollisionDispatcher.cpp.
|
virtual |
Definition at line 76 of file SpuGatheringCollisionDispatcher.cpp.
|
virtual |
modified version of btCollisionDispatcher::dispatchAllCollisionPairs:
PPU fallback Need to make sure to clear all 'algorithms' when switching between SPU and PPU
Reimplemented from btCollisionDispatcher.
Definition at line 182 of file SpuGatheringCollisionDispatcher.cpp.
|
inline |
Definition at line 53 of file SpuGatheringCollisionDispatcher.h.
bool SpuGatheringCollisionDispatcher::supportsDispatchPairOnSpu | ( | int | proxyType0, |
int | proxyType1 | ||
) |
Definition at line 42 of file SpuGatheringCollisionDispatcher.cpp.
|
protected |
Definition at line 47 of file SpuGatheringCollisionDispatcher.h.
|
private |
Definition at line 41 of file SpuGatheringCollisionDispatcher.h.
|
protected |
Definition at line 45 of file SpuGatheringCollisionDispatcher.h.