31 #ifndef PX_PHYSICS_EXTENSIONS_DEFAULTSIMULATIONFILTERSHADER_H 32 #define PX_PHYSICS_EXTENSIONS_DEFAULTSIMULATIONFILTERSHADER_H 122 const void* constantBlock,
123 PxU32 constantBlockSize);
Definition: GuContactBuffer.h:37
void PxGetFilterConstants(PxGroupsMask &c0, PxGroupsMask &c1)
Gets filtering constant K0 and K1. See comments for PxGroupsMask.
void PxSetFilterOps(const PxFilterOp::Enum &op0, const PxFilterOp::Enum &op1, const PxFilterOp::Enum &op2)
Setups filtering operations. See comments for PxGroupsMask.
PxFilterData is user-definable data which gets passed into the collision filtering shader and/or call...
Definition: PxFiltering.h:366
Definition: PxDefaultSimulationFilterShader.h:88
PxActor is the base class for the main simulation objects in the physics SDK.
Definition: PxActor.h:154
void PxGetFilterOps(PxFilterOp::Enum &op0, PxFilterOp::Enum &op1, PxFilterOp::Enum &op2)
Retrieves filtering operation. See comments for PxGroupsMask.
PX_INLINE ~PxGroupsMask()
Definition: PxDefaultSimulationFilterShader.h:74
PX_INLINE PxGroupsMask()
Definition: PxDefaultSimulationFilterShader.h:73
bool PxGetGroupCollisionFlag(const PxU16 group1, const PxU16 group2)
Determines if collision detection is performed between a pair of groups.
void PxSetFilterConstants(const PxGroupsMask &c0, const PxGroupsMask &c1)
Setups filtering's K0 and K1 value. See comments for PxGroupsMask.
64-bit mask used for collision filtering.
Definition: PxDefaultSimulationFilterShader.h:70
PxGroupsMask PxGetGroupsMask(const PxActor &actor)
Gets 64-bit mask used for collision filtering. See comments for PxGroupsMask.
void PxSetGroup(PxActor &actor, const PxU16 collisionGroup)
Sets which collision group this actor is part of.
PxFilterFlags PxDefaultSimulationFilterShader(PxFilterObjectAttributes attributes0, PxFilterData filterData0, PxFilterObjectAttributes attributes1, PxFilterData filterData1, PxPairFlags &pairFlags, const void *constantBlock, PxU32 constantBlockSize)
Implementation of a simple filter shader that emulates PhysX 2.8.x filtering.
PxU32 PxFilterObjectAttributes
Structure which gets passed into the collision filtering shader and/or callback providing additional ...
Definition: PxFiltering.h:491
void PxSetFilterBool(const bool enable)
Setups filtering's boolean value. See comments for PxGroupsMask.
bool PxGetFilterBool()
Retrieves filtering's boolean value. See comments for PxGroupsMask.
Definition: PxDefaultSimulationFilterShader.h:92
void PxSetGroupsMask(PxActor &actor, const PxGroupsMask &mask)
Sets 64-bit mask used for collision filtering. See comments for PxGroupsMask.
Definition: PxDefaultSimulationFilterShader.h:91
PxU16 PxGetGroup(const PxActor &actor)
Retrieves the value set with PxSetGroup()
Container for bitfield flag variables associated with a specific enum type.
Definition: PxFlags.h:73
Collision filtering operations.
Definition: PxDefaultSimulationFilterShader.h:84
Definition: PxDefaultSimulationFilterShader.h:93
uint16_t PxU16
Definition: PxSimpleTypes.h:73
uint32_t PxU32
Definition: Px.h:48
void PxSetGroupCollisionFlag(const PxU16 group1, const PxU16 group2, const bool enable)
Specifies if collision should be performed by a pair of groups.
Definition: PxDefaultSimulationFilterShader.h:90
Definition: PxDefaultSimulationFilterShader.h:89
#define PX_INLINE
Definition: PxPreprocessor.h:349
Enum
Definition: PxDefaultSimulationFilterShader.h:86
PxU16 bits3
Definition: PxDefaultSimulationFilterShader.h:76