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

Method releaseRigidStaticToPool

physx/source/physx/src/NpFactory.cpp:578–583  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578void NpFactory::releaseRigidStaticToPool(NpRigidStatic& rigidStatic)
579{
580 PX_ASSERT(rigidStatic.getBaseFlags() & PxBaseFlag::eOWNS_MEMORY);
581 Ps::Mutex::ScopedLock lock(mRigidStaticPoolLock);
582 mRigidStaticPool.destroy(&rigidStatic);
583}
584
585///////////////////////////////////////////////////////////////////////////////
586

Callers 1

NpDestroyRigidActorFunction · 0.80

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected