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

Method releaseAggregateToPool

deps/physx/physx/source/physx/src/NpFactory.cpp:418–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

NpDestroyAggregateFunction · 0.80

Calls 2

getBaseFlagsMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected