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

Method shrink

physx/source/foundation/include/PsArray.h:455–458  ·  view source on GitHub ↗

///////////////////////////////////////////////////////////////////// ! Resize array such that only as much memory is allocated to hold the existing elements */ /////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

453 */
454 //////////////////////////////////////////////////////////////////////////
455 PX_INLINE void shrink()
456 {
457 recreate(mSize);
458 }
459
460 //////////////////////////////////////////////////////////////////////////
461 /*!

Callers 1

flushMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected