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

Method Clear

Source/Engine/Core/Collections/ChunkedArray.h:335–342  ·  view source on GitHub ↗

Clears the collection but without changing its capacity.

Source from the content-addressed store, hash-verified

333 /// Clears the collection but without changing its capacity.
334 /// </summary>
335 void Clear()
336 {
337 _count = 0;
338 for (int32 i = 0; i < _chunks.Count(); i++)
339 {
340 _chunks[i]->Clear();
341 }
342 }
343
344 /// <summary>
345 /// Clears the collection and releases the dynamic memory allocated within the container.

Callers

nothing calls this directly

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected