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

Method RemoveLast

Source/Engine/Core/Collections/Array.h:716–721  ·  view source on GitHub ↗

Removes the last items from the collection.

Source from the content-addressed store, hash-verified

714 /// Removes the last items from the collection.
715 /// </summary>
716 void RemoveLast()
717 {
718 ASSERT(_count > 0);
719 --_count;
720 Memory::DestructItems(_allocation.Get() + _count, 1);
721 }
722
723 /// <summary>
724 /// Swaps the contents of collection with the other object without copy operation. Performs fast internal data exchange.

Callers 12

GetFromPoolMethod · 0.80
AcquireParticleBufferMethod · 0.80
GetDebugNameMethod · 0.80
ReadPipeFunction · 0.80
EndMethod · 0.80
EndEventMethod · 0.80
AllocateFenceMethod · 0.80
EventEndMethod · 0.80
eatBoxMethod · 0.80
RemoveMethod · 0.80
ResizeMethod · 0.80
SetDriveControlMethod · 0.80

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected