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

Method createAggregate

physx/source/physx/src/NpFactory.cpp:405–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405PxAggregate* NpFactory::createAggregate(PxU32 maxActors, bool selfCollisions)
406{
407 NpAggregate* npAggregate;
408 {
409 Ps::Mutex::ScopedLock lock(mAggregatePoolLock);
410 npAggregate = mAggregatePool.construct(maxActors, selfCollisions);
411 }
412
413 addAggregate(npAggregate);
414 return npAggregate;
415}
416
417void NpFactory::releaseAggregateToPool(NpAggregate& aggregate)
418{

Callers 4

createLargeSphereFunction · 0.45
fileToObjectMethod · 0.45
addAggregateMethod · 0.45
syncEntireSceneMethod · 0.45

Calls 1

constructMethod · 0.45

Tested by

no test coverage detected