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

Method Clear

Source/Engine/Threading/ConcurrentBuffer.h:184–187  ·  view source on GitHub ↗

Clear the collection but without changing its capacity.

Source from the content-addressed store, hash-verified

182 /// Clear the collection but without changing its capacity.
183 /// </summary>
184 FORCE_INLINE void Clear()
185 {
186 Platform::InterlockedExchange(&_count, 0);
187 }
188
189 /// <summary>
190 /// Releases this buffer data.

Callers

nothing calls this directly

Calls 1

InterlockedExchangeFunction · 0.50

Tested by

no test coverage detected