RavEngine
Loading...
Searching...
No Matches
physx::NpFactory Class Reference
Inheritance diagram for physx::NpFactory:
[legend]
Collaboration diagram for physx::NpFactory:
[legend]

Public Member Functions

void release ()
 
void addCollection (const Cm::Collection &collection)
 
PxRigidDynamic * createRigidDynamic (const PxTransform &pose)
 
void addRigidDynamic (PxRigidDynamic *, bool lock=true)
 
void releaseRigidDynamicToPool (NpRigidDynamic &)
 
PxRigidStatic * createRigidStatic (const PxTransform &pose)
 
void addRigidStatic (PxRigidStatic *, bool lock=true)
 
void releaseRigidStaticToPool (NpRigidStatic &)
 
NpShape * createShape (const PxGeometry &geometry, PxShapeFlags shapeFlags, PxMaterial *const *materials, PxU16 materialCount, bool isExclusive)
 
NpShape * createShape (const PxGeometry &geometry, PxShapeFlags shapeFlags, PxFEMSoftBodyMaterial *const *materials, PxU16 materialCount, bool isExclusive)
 
void addShape (PxShape *, bool lock=true)
 
void releaseShapeToPool (NpShape &)
 
PxU32 getNbShapes () const
 
PxU32 getShapes (PxShape **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
PxConstraint * createConstraint (PxRigidActor *actor0, PxRigidActor *actor1, PxConstraintConnector &connector, const PxConstraintShaderTable &shaders, PxU32 dataSize)
 
void addConstraint (PxConstraint *, bool lock=true)
 
void releaseConstraintToPool (NpConstraint &)
 
void addArticulation (PxArticulationReducedCoordinate *, bool lock=true)
 
void releaseArticulationToPool (PxArticulationReducedCoordinate &articulation)
 
PxArticulationReducedCoordinate * createArticulationRC ()
 
NpArticulationReducedCoordinate * createNpArticulationRC ()
 
NpArticulationLink * createNpArticulationLink (NpArticulationReducedCoordinate &root, NpArticulationLink *parent, const PxTransform &pose)
 
void releaseArticulationLinkToPool (NpArticulationLink &articulation)
 
PxArticulationLink * createArticulationLink (NpArticulationReducedCoordinate &root, NpArticulationLink *parent, const PxTransform &pose)
 
NpArticulationJointReducedCoordinate * createNpArticulationJointRC (NpArticulationLink &parent, const PxTransform &parentFrame, NpArticulationLink &child, const PxTransform &childFrame)
 
void releaseArticulationJointRCToPool (NpArticulationJointReducedCoordinate &articulationJoint)
 
PxSoftBody * createSoftBody (PxCudaContextManager &cudaContextManager)
 
void releaseSoftBodyToPool (PxSoftBody &softBody)
 
PxPBDParticleSystem * createPBDParticleSystem (PxU32 maxNeighborhood, PxCudaContextManager &cudaContexManager)
 
void releasePBDParticleSystemToPool (PxPBDParticleSystem &particleSystem)
 
PxParticleBuffer * createParticleBuffer (PxU32 maxParticles, PxU32 maxVolumes, PxCudaContextManager *cudaContextManager)
 
PxParticleAndDiffuseBuffer * createParticleAndDiffuseBuffer (PxU32 maxParticles, PxU32 maxVolumes, PxU32 maxDiffuseParticles, PxCudaContextManager *cudaContextManager)
 
PxParticleClothBuffer * createParticleClothBuffer (PxU32 maxParticles, PxU32 maxNumVolumes, PxU32 maxNumCloths, PxU32 maxNumTriangles, PxU32 maxNumSprings, PxCudaContextManager *cudaContextManager)
 
PxParticleRigidBuffer * createParticleRigidBuffer (PxU32 maxParticles, PxU32 maxNumVolumes, PxU32 maxNumRigids, PxCudaContextManager *cudaContextManager)
 
PxAggregate * createAggregate (PxU32 maxActors, PxU32 maxShapes, PxAggregateFilterHint filterHint)
 
void addAggregate (PxAggregate *, bool lock=true)
 
void releaseAggregateToPool (NpAggregate &)
 
PxMaterial * createMaterial (PxReal staticFriction, PxReal dynamicFriction, PxReal restitution)
 
void releaseMaterialToPool (NpMaterial &material)
 
PxFEMSoftBodyMaterial * createFEMSoftBodyMaterial (PxReal youngs, PxReal poissons, PxReal dynamicFriction)
 
void releaseFEMMaterialToPool (PxFEMSoftBodyMaterial &material)
 
PxFEMClothMaterial * createFEMClothMaterial (PxReal youngs, PxReal poissons, PxReal dynamicFriction)
 
void releaseFEMClothMaterialToPool (PxFEMClothMaterial &material)
 
PxPBDMaterial * createPBDMaterial (PxReal friction, PxReal damping, PxReal adhesion, PxReal viscosity, PxReal vorticityConfinement, PxReal surfaceTension, PxReal cohesion, PxReal lift, PxReal drag, PxReal cflCoefficient, PxReal gravityScale)
 
void releasePBDMaterialToPool (PxPBDMaterial &material)
 
PxMPMMaterial * createMPMMaterial (PxReal friction, PxReal damping, PxReal adhesion, bool isPlastic, PxReal youngsModulus, PxReal poissons, PxReal hardening, PxReal criticalCompression, PxReal criticalStretch, PxReal tensileDamageSensitivity, PxReal compressiveDamageSensitivity, PxReal attractiveForceResidual, PxReal gravityScale)
 
void releaseMPMMaterialToPool (PxMPMMaterial &material)
 
PxCustomMaterial * createCustomMaterial (void *gpuBuffer)
 
void releaseCustomMaterialToPool (PxCustomMaterial &material)
 
void onActorRelease (PxActor *)
 
void onConstraintRelease (PxConstraint *)
 
void onAggregateRelease (PxAggregate *)
 
void onArticulationRelease (PxArticulationReducedCoordinate *)
 
void onShapeRelease (PxShape *)
 
void addParticleBuffer (PxParticleBuffer *buffer, bool lock=true)
 
void onParticleBufferReleaseInternal (PxParticleBuffer *buffer)
 
NpConnectorArray * acquireConnectorArray ()
 
void releaseConnectorArray (NpConnectorArray *)
 
PX_FORCE_INLINE NpPtrTableStorageManager & getPtrTableStorageManager ()
 
- Public Member Functions inherited from physx::Gu::MeshFactory
void release ()
 
void addTriangleMesh (Gu::TriangleMesh *np, bool lock=true)
 
PxTriangleMesh * createTriangleMesh (PxInputStream &stream)
 
PxTriangleMesh * createTriangleMesh (void *triangleMeshData)
 
bool removeTriangleMesh (PxTriangleMesh &)
 
PxU32 getNbTriangleMeshes () const
 
PxU32 getTriangleMeshes (PxTriangleMesh **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
void addTetrahedronMesh (Gu::TetrahedronMesh *np, bool lock=true)
 
PxTetrahedronMesh * createTetrahedronMesh (PxInputStream &stream)
 
PxTetrahedronMesh * createTetrahedronMesh (void *tetrahedronMeshData)
 
bool removeTetrahedronMesh (PxTetrahedronMesh &)
 
PxU32 getNbTetrahedronMeshes () const
 
PxU32 getTetrahedronMeshes (PxTetrahedronMesh **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
void addSoftBodyMesh (Gu::SoftBodyMesh *np, bool lock=true)
 
PxSoftBodyMesh * createSoftBodyMesh (PxInputStream &stream)
 
PxSoftBodyMesh * createSoftBodyMesh (void *tetrahedronMeshData)
 
bool removeSoftBodyMesh (PxSoftBodyMesh &)
 
PxU32 getNbSoftBodyMeshes () const
 
PxU32 getSoftBodyMeshes (PxSoftBodyMesh **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
void addConvexMesh (Gu::ConvexMesh *np, bool lock=true)
 
PxConvexMesh * createConvexMesh (PxInputStream &)
 
PxConvexMesh * createConvexMesh (void *convexMeshData)
 
bool removeConvexMesh (PxConvexMesh &)
 
PxU32 getNbConvexMeshes () const
 
PxU32 getConvexMeshes (PxConvexMesh **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
void addHeightField (Gu::HeightField *np, bool lock=true)
 
PxHeightField * createHeightField (void *heightFieldMeshData)
 
PxHeightField * createHeightField (PxInputStream &)
 
bool removeHeightField (PxHeightField &)
 
PxU32 getNbHeightFields () const
 
PxU32 getHeightFields (PxHeightField **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
void addBVH (Gu::BVH *np, bool lock=true)
 
PxBVH * createBVH (PxInputStream &)
 
PxBVH * createBVH (void *bvhData)
 
bool removeBVH (PxBVH &)
 
PxU32 getNbBVHs () const
 
PxU32 getBVHs (PxBVH **userBuffer, PxU32 bufferSize, PxU32 startIndex) const
 
void addFactoryListener (MeshFactoryListener &listener)
 
void removeFactoryListener (MeshFactoryListener &listener)
 
void notifyFactoryListener (const PxBase *, PxType typeID)
 
bool remove (PxBase &)
 
- Public Member Functions inherited from physx::PxUserAllocated
PX_INLINE void * operator new (size_t, void *address)
 
PX_INLINE void operator delete (void *, void *)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void * operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete (void *ptr, Alloc alloc, const char *fileName, int line)
 
template<typename Alloc >
PX_INLINE void operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line)
 
PX_INLINE void operator delete (void *ptr)
 
PX_INLINE void operator delete[] (void *ptr)
 

Static Public Member Functions

static void createInstance ()
 
static void destroyInstance ()
 
static void registerArticulations ()
 
static void registerArticulationRCs ()
 
static void onParticleBufferRelease (PxParticleBuffer *buffer)
 
static PX_INLINE NpFactory & getInstance ()
 

Additional Inherited Members

- Protected Member Functions inherited from physx::Gu::MeshFactory
PxTriangleMesh * createTriangleMesh (Gu::TriangleMeshData &data)
 
PxTetrahedronMesh * createTetrahedronMesh (Gu::TetrahedronMeshData &data)
 
PxSoftBodyMesh * createSoftBodyMesh (Gu::SoftBodyMeshData &data)
 
PxConvexMesh * createConvexMesh (Gu::ConvexHullInitData &data)
 
PxBVH * createBVH (Gu::BVHData &data)
 
- Protected Attributes inherited from physx::Gu::MeshFactory
PxMutex mTrackingMutex
 

The documentation for this class was generated from the following files: