MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/PhysX / releaseShapeToPool

Method releaseShapeToPool

physx/source/physx/src/NpFactory.cpp:542–547  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}
541
542void NpFactory::releaseShapeToPool(NpShape& shape)
543{
544 PX_ASSERT(shape.getBaseFlags() & PxBaseFlag::eOWNS_MEMORY);
545 Ps::Mutex::ScopedLock lock(mShapePoolLock);
546 mShapePool.destroy(&shape);
547}
548
549PxU32 NpFactory::getNbShapes() const
550{

Callers 1

NpDestroyShapeFunction · 0.80

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected