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

Method releaseAggregateToPool

physx/source/physx/src/NpFactory.cpp:417–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

415}
416
417void NpFactory::releaseAggregateToPool(NpAggregate& aggregate)
418{
419 PX_ASSERT(aggregate.getBaseFlags() & PxBaseFlag::eOWNS_MEMORY);
420 Ps::Mutex::ScopedLock lock(mAggregatePoolLock);
421 mAggregatePool.destroy(&aggregate);
422}
423
424void NpFactory::onAggregateRelease(PxAggregate* a)
425{

Callers 1

NpDestroyAggregateFunction · 0.80

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected