MCPcopy Create free account
hub / github.com/TheRealMJP/DXRPathTracer / AddMultiple

Method AddMultiple

SampleFramework12/v1.02/Containers.h:255–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 void AddMultiple(T item, uint64 itemCount)
256 {
257 if(itemCount == 0)
258 return;
259
260 Assert_(count + (itemCount - 1) < array.Size());
261 for(uint64 i = 0; i < itemCount; ++i)
262 array[i + count] = item;
263 count += itemCount;
264 }
265
266 void Append(const T* items, uint64 itemCount)
267 {

Callers

nothing calls this directly

Calls 1

SizeMethod · 0.45

Tested by

no test coverage detected