PxFilterData Struct Reference
[Physics]

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

#include <PxFiltering.h>

List of all members.

Public Member Functions

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

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

PX_INLINE PxFilterData::PxFilterData ( const   PxEMPTY  )  [inline]

PX_INLINE PxFilterData::PxFilterData (  )  [inline]

Default constructor.

PX_INLINE PxFilterData::PxFilterData ( const PxFilterData fd  )  [inline]

Copy constructor.

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

Constructor to set filter data initially.


Member Function Documentation

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

Comparison operator to allow use in Array.

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

Assignment operator.

References word0, word1, word2, and word3.

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

Comparison operator to allow use in Array.

References word0, word1, word2, and word3.

PX_INLINE void PxFilterData::setToDefault (  )  [inline]

(re)sets the structure to the default.


Member Data Documentation

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

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

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

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


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


Copyright © 2008-2018 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com