PxFiltering.h File Reference
#include "PxPhysXConfig.h"
#include "foundation/PxFlags.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PxPairFlag
 Collection of flags describing the actions to take for a collision pair. More...
 
struct  PxFilterFlag
 Collection of flags describing the filter actions to take for a collision pair. More...
 
struct  PxFilterData
 PxFilterData is user-definable data which gets passed into the collision filtering shader and/or callback. More...
 
struct  PxFilterObjectType
 Identifies each type of filter object. More...
 
struct  PxFilterObjectFlag
 
class  PxSimulationFilterCallback
 Filter callback to specify handling of collision pairs. More...
 
struct  PxPairFilteringMode
 

Typedefs

typedef PxFlags< PxPairFlag::Enum, PxU16 > PxPairFlags
 Bitfield that contains a set of raised flags defined in PxPairFlag. More...
 
typedef PxFlags< PxFilterFlag::Enum, PxU16 > PxFilterFlags
 Bitfield that contains a set of raised flags defined in PxFilterFlag. More...
 
typedef PxU32 PxFilterObjectAttributes
 Structure which gets passed into the collision filtering shader and/or callback providing additional information on objects of a collision pair. More...
 
typedef PxFilterFlags(* PxSimulationFilterShader) (PxFilterObjectAttributes attributes0, PxFilterData filterData0, PxFilterObjectAttributes attributes1, PxFilterData filterData1, PxPairFlags &pairFlags, const void *constantBlock, PxU32 constantBlockSize)
 Filter shader to specify handling of collision pairs. More...
 

Functions

PX_INLINE PxFilterObjectType::Enum PxGetFilterObjectType (PxFilterObjectAttributes attr)
 Extract filter object type from the filter attributes of a collision pair object. More...
 
PX_INLINE bool PxFilterObjectIsKinematic (PxFilterObjectAttributes attr)
 Specifies whether the collision object belongs to a kinematic rigid body. More...
 
PX_INLINE bool PxFilterObjectIsTrigger (PxFilterObjectAttributes attr)
 Specifies whether the collision object is a trigger shape. More...
 

Variables

static const PxU32 INVALID_FILTER_PAIR_INDEX = 0xffffffff