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

Method preallocate

physx/source/scenequery/src/SqSceneQueryManager.cpp:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void PrunerExt::preallocate(PxU32 nbShapes)
92{
93 if(nbShapes > mDirtyMap.size())
94 mDirtyMap.resize(nbShapes);
95
96 if(mPruner)
97 mPruner->preallocate(nbShapes);
98}
99
100void PrunerExt::flushMemory()
101{

Callers 1

SceneQueryManagerMethod · 0.45

Calls 3

sizeMethod · 0.45
resizeMethod · 0.45
reserveMethod · 0.45

Tested by

no test coverage detected