Bullet Collision Detection & Physics Library
Public Member Functions | Private Attributes | List of all members
btSpuCollisionPairCallback Class Reference

interface for iterating all overlapping collision pairs, no matter how those pairs are stored (array, set, map etc) this is useful for the collision dispatcher. More...

Inheritance diagram for btSpuCollisionPairCallback:
Inheritance graph
[legend]
Collaboration diagram for btSpuCollisionPairCallback:
Collaboration graph
[legend]

Public Member Functions

 btSpuCollisionPairCallback (const btDispatcherInfo &dispatchInfo, SpuGatheringCollisionDispatcher *dispatcher)
 
virtual bool processOverlap (btBroadphasePair &collisionPair)
 
- Public Member Functions inherited from btOverlapCallback
virtual ~btOverlapCallback ()
 

Private Attributes

const btDispatcherInfom_dispatchInfo
 
SpuGatheringCollisionDispatcherm_dispatcher
 

Detailed Description

interface for iterating all overlapping collision pairs, no matter how those pairs are stored (array, set, map etc) this is useful for the collision dispatcher.

Definition at line 89 of file SpuGatheringCollisionDispatcher.cpp.

Constructor & Destructor Documentation

btSpuCollisionPairCallback::btSpuCollisionPairCallback ( const btDispatcherInfo dispatchInfo,
SpuGatheringCollisionDispatcher dispatcher 
)
inline

Definition at line 96 of file SpuGatheringCollisionDispatcher.cpp.

Member Function Documentation

virtual bool btSpuCollisionPairCallback::processOverlap ( btBroadphasePair collisionPair)
inlinevirtual

userInfo is used to determine if the SPU has to handle this case or not (skip PPU tasks)

Implements btOverlapCallback.

Definition at line 102 of file SpuGatheringCollisionDispatcher.cpp.

Member Data Documentation

SpuGatheringCollisionDispatcher* btSpuCollisionPairCallback::m_dispatcher
private

Definition at line 92 of file SpuGatheringCollisionDispatcher.cpp.

const btDispatcherInfo& btSpuCollisionPairCallback::m_dispatchInfo
private

Definition at line 91 of file SpuGatheringCollisionDispatcher.cpp.


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