15 #include "physxClothMesh.h" 16 #include "physxMeshPool.h" 26 link(NxClothMesh *meshPtr) {
43 _error_type = ET_released;
55 nassertv(_error_type == ET_ok);
58 NxGetPhysicsSDK()->releaseClothMesh(*_ptr);
61 PhysxMeshPool::release_cloth_mesh(
this);
72 nassertr(_error_type == ET_ok, 0);
74 return _ptr->getReferenceCount();
unsigned int get_reference_count() const
Returns the reference count for shared meshes.
static PhysxManager * get_global_ptr()
Returns a pointer to the global PhysxManager object.
TypeHandle is the identifier used to differentiate C++ class types.