MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / releaseShapeToPool

Method releaseShapeToPool

deps/physx/physx/source/physx/src/NpFactory.cpp:543–548  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

NpDestroyShapeFunction · 0.80

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected