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

Method AddMultiple

SampleFramework12/v1.02/Containers.h:454–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452 }
453
454 void AddMultiple(T item, uint64 itemCount)
455 {
456 if(itemCount == 0)
457 return;
458
459 Reserve(count + itemCount);
460
461 for(uint64 i = 0; i < itemCount; ++i)
462 array[i + count] = item;
463 count += itemCount;
464 }
465
466 void Append(const T* items, uint64 itemCount)
467 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected