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

Go to the source code of this file.

Classes

class  PxGroupsMask
 64-bit mask used for collision filtering. More...
 
struct  PxFilterOp
 Collision filtering operations. More...
 

Functions

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. More...
 
bool PxGetGroupCollisionFlag (const PxU16 group1, const PxU16 group2)
 Determines if collision detection is performed between a pair of groups. More...
 
void PxSetGroupCollisionFlag (const PxU16 group1, const PxU16 group2, const bool enable)
 Specifies if collision should be performed by a pair of groups. More...
 
PxU16 PxGetGroup (const PxActor &actor)
 Retrieves the value set with PxSetGroup() More...
 
void PxSetGroup (PxActor &actor, const PxU16 collisionGroup)
 Sets which collision group this actor is part of. More...
 
void PxGetFilterOps (PxFilterOp::Enum &op0, PxFilterOp::Enum &op1, PxFilterOp::Enum &op2)
 Retrieves filtering operation. See comments for PxGroupsMask. More...
 
void PxSetFilterOps (const PxFilterOp::Enum &op0, const PxFilterOp::Enum &op1, const PxFilterOp::Enum &op2)
 Setups filtering operations. See comments for PxGroupsMask. More...
 
bool PxGetFilterBool ()
 Retrieves filtering's boolean value. See comments for PxGroupsMask. More...
 
void PxSetFilterBool (const bool enable)
 Setups filtering's boolean value. See comments for PxGroupsMask. More...
 
void PxGetFilterConstants (PxGroupsMask &c0, PxGroupsMask &c1)
 Gets filtering constant K0 and K1. See comments for PxGroupsMask. More...
 
void PxSetFilterConstants (const PxGroupsMask &c0, const PxGroupsMask &c1)
 Setups filtering's K0 and K1 value. See comments for PxGroupsMask. More...
 
PxGroupsMask PxGetGroupsMask (const PxActor &actor)
 Gets 64-bit mask used for collision filtering. See comments for PxGroupsMask. More...
 
void PxSetGroupsMask (PxActor &actor, const PxGroupsMask &mask)
 Sets 64-bit mask used for collision filtering. See comments for PxGroupsMask. More...