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

Method Capacity

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

Gets the amount of the elements that can be hold by collection without resizing.

Source from the content-addressed store, hash-verified

46 /// Gets the amount of the elements that can be hold by collection without resizing.
47 /// </summary>
48 FORCE_INLINE int32 Capacity() const
49 {
50 return _chunks.Count() * ChunkSize;
51 }
52
53 /// <summary>
54 /// Returns true if array isn't empty.

Callers 1

ResizeMethod · 0.45

Calls 1

CountMethod · 0.45

Tested by

no test coverage detected