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

Method grow

physx/source/foundation/include/PsArray.h:608–612  ·  view source on GitHub ↗

! Resizes the available memory for the array. \param capacity The number of entries that the set should be able to hold. */

Source from the content-addressed store, hash-verified

606 The number of entries that the set should be able to hold.
607 */
608 PX_INLINE void grow(uint32_t capacity)
609 {
610 PX_ASSERT(this->capacity() < capacity);
611 recreate(capacity);
612 }
613
614 /*!
615 Creates a new memory block, copies all entries to the new block and destroys old entries.

Callers

nothing calls this directly

Calls 1

capacityMethod · 0.95

Tested by

no test coverage detected