MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / grow

Method grow

Source/ThirdParty/NvCloth/ps/PsArray.h:612–616  ·  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

610 The number of entries that the set should be able to hold.
611 */
612 PX_INLINE void grow(uint32_t capacity)
613 {
614 NV_CLOTH_ASSERT(this->capacity() < capacity);
615 recreate(capacity);
616 }
617
618 /*!
619 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