SpuGatheringCollisionDispatcher can use SPU to gather and calculate collision detection Time of Impact, Closest Points and Penetration Depth. More...
#include <SpuGatheringCollisionDispatcher.h>


Public Member Functions | |
| SpuCollisionTaskProcess * | getSpuCollisionTaskProcess () |
| SpuGatheringCollisionDispatcher (class btThreadSupportInterface *threadInterface, unsigned int maxNumOutstandingTasks, btCollisionConfiguration *collisionConfiguration) | |
| virtual | ~SpuGatheringCollisionDispatcher () |
| bool | supportsDispatchPairOnSpu (int proxyType0, int proxyType1) |
| virtual void | dispatchAllCollisionPairs (btOverlappingPairCache *pairCache, const btDispatcherInfo &dispatchInfo, btDispatcher *dispatcher) |
Protected Attributes | |
| class btThreadSupportInterface * | m_threadInterface |
| unsigned int | m_maxNumOutstandingTasks |
Private Attributes | |
| SpuCollisionTaskProcess * | m_spuCollisionTaskProcess |
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 30 of file SpuGatheringCollisionDispatcher.cpp.
| SpuGatheringCollisionDispatcher::~SpuGatheringCollisionDispatcher | ( | ) | [virtual] |
Definition at line 74 of file SpuGatheringCollisionDispatcher.cpp.
| void SpuGatheringCollisionDispatcher::dispatchAllCollisionPairs | ( | btOverlappingPairCache * | pairCache, | |
| const btDispatcherInfo & | dispatchInfo, | |||
| btDispatcher * | dispatcher | |||
| ) | [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 152 of file SpuGatheringCollisionDispatcher.cpp.
| SpuCollisionTaskProcess* SpuGatheringCollisionDispatcher::getSpuCollisionTaskProcess | ( | ) | [inline] |
Definition at line 53 of file SpuGatheringCollisionDispatcher.h.
| bool SpuGatheringCollisionDispatcher::supportsDispatchPairOnSpu | ( | int | proxyType0, | |
| int | proxyType1 | |||
| ) |
Definition at line 40 of file SpuGatheringCollisionDispatcher.cpp.
unsigned int SpuGatheringCollisionDispatcher::m_maxNumOutstandingTasks [protected] |
Definition at line 47 of file SpuGatheringCollisionDispatcher.h.
Definition at line 41 of file SpuGatheringCollisionDispatcher.h.
class btThreadSupportInterface* SpuGatheringCollisionDispatcher::m_threadInterface [protected] |
Definition at line 45 of file SpuGatheringCollisionDispatcher.h.
1.6.1