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

Method AddMultiple

SampleFramework12/v1.00/Containers.h:414–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 }
413
414 void AddMultiple(T item, uint64 itemCount)
415 {
416 if(itemCount == 0)
417 return;
418
419 Reserve(count + itemCount);
420
421 for(uint64 i = 0; i < itemCount; ++i)
422 array[i + count] = item;
423 count += itemCount;
424 }
425
426 void Append(const T* items, uint64 itemCount)
427 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected