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

Method removeObjects

physx/source/scenequery/src/SqBucketPruner.cpp:2208–2218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2206}
2207
2208void BucketPruner::removeObjects(const PrunerHandle* handles, PxU32 count)
2209{
2210 if(!count)
2211 return;
2212
2213 for(PxU32 i=0;i<count;i++)
2214 mPool.removeObject(handles[i]);
2215
2216 mCore.setExternalMemory(mPool.getNbActiveObjects(), mPool.getCurrentWorldBoxes(), mPool.getObjects());
2217 mCore.mDirty = true;
2218}
2219
2220void BucketPruner::updateObjectsAfterManualBoundsUpdates(const PrunerHandle* handles, PxU32 count)
2221{

Callers

nothing calls this directly

Calls 5

setExternalMemoryMethod · 0.80
getNbActiveObjectsMethod · 0.80
getCurrentWorldBoxesMethod · 0.80
removeObjectMethod · 0.45
getObjectsMethod · 0.45

Tested by

no test coverage detected