PxFilterData Struct Reference

PxFilterData is user-definable data which gets passed into the collision filtering shader and/or callback. More...

#include <PxFiltering.h>

Public Member Functions

PX_INLINE PxFilterData (const PxEMPTY)
 
PX_INLINE PxFilterData ()
 Default constructor. More...
 
PX_INLINE PxFilterData (const PxFilterData &fd)
 Copy constructor. More...
 
PX_INLINE PxFilterData (PxU32 w0, PxU32 w1, PxU32 w2, PxU32 w3)
 Constructor to set filter data initially. More...
 
PX_INLINE void setToDefault ()
 (re)sets the structure to the default. More...
 
PX_INLINE void operator= (const PxFilterData &fd)
 Assignment operator. More...
 
PX_INLINE bool operator== (const PxFilterData &a) const
 Comparison operator to allow use in Array. More...
 
PX_INLINE bool operator!= (const PxFilterData &a) const
 Comparison operator to allow use in Array. More...
 

Public Attributes

PxU32 word0
 
PxU32 word1
 
PxU32 word2
 
PxU32 word3
 

Detailed Description

PxFilterData is user-definable data which gets passed into the collision filtering shader and/or callback.

See also
PxShape.setSimulationFilterData() PxShape.getSimulationFilterData() PxSimulationFilterShader PxSimulationFilterCallback

Constructor & Destructor Documentation

◆ PxFilterData() [1/4]

PX_INLINE PxFilterData::PxFilterData ( const PxEMPTY  )
inline

◆ PxFilterData() [2/4]

PX_INLINE PxFilterData::PxFilterData ( )
inline

Default constructor.

◆ PxFilterData() [3/4]

PX_INLINE PxFilterData::PxFilterData ( const PxFilterData fd)
inline

Copy constructor.

◆ PxFilterData() [4/4]

PX_INLINE PxFilterData::PxFilterData ( PxU32  w0,
PxU32  w1,
PxU32  w2,
PxU32  w3 
)
inline

Constructor to set filter data initially.

Member Function Documentation

◆ operator!=()

PX_INLINE bool PxFilterData::operator!= ( const PxFilterData a) const
inline

Comparison operator to allow use in Array.

◆ operator=()

PX_INLINE void PxFilterData::operator= ( const PxFilterData fd)
inline

Assignment operator.

References word0, word1, word2, and word3.

◆ operator==()

PX_INLINE bool PxFilterData::operator== ( const PxFilterData a) const
inline

Comparison operator to allow use in Array.

References word0, word1, word2, and word3.

◆ setToDefault()

PX_INLINE void PxFilterData::setToDefault ( )
inline

(re)sets the structure to the default.

Member Data Documentation

◆ word0

PxU32 PxFilterData::word0

Referenced by operator=(), and operator==().

◆ word1

PxU32 PxFilterData::word1

Referenced by operator=(), and operator==().

◆ word2

PxU32 PxFilterData::word2

Referenced by operator=(), and operator==().

◆ word3

PxU32 PxFilterData::word3

Referenced by operator=(), and operator==().


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