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

Method clear

physx/source/foundation/include/PsArray.h:255–259  ·  view source on GitHub ↗

! Clears the array. */

Source from the content-addressed store, hash-verified

253 Clears the array.
254 */
255 PX_INLINE void clear()
256 {
257 destroy(mData, mData + mSize);
258 mSize = 0;
259 }
260
261 /*!
262 Returns whether the array is empty (i.e. whether its size is 0).

Callers 4

releaseEmptySlabsMethod · 0.45
BroadcastingAllocatorMethod · 0.45

Calls 1

destroyFunction · 0.85

Tested by

no test coverage detected