MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / adv_FlushLayerGPUTasks

Method adv_FlushLayerGPUTasks

olcPixelGameEngine.h:4772–4779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4770 }
4771
4772 void PixelGameEngine::adv_FlushLayerGPUTasks(const size_t nLayerID)
4773 {
4774 // Display Decals in order for this layer
4775 auto& layer = vLayers[nLayerID];
4776 for (auto& decal : layer.vecGPUTasks)
4777 renderer->DoGPUTask(decal);
4778 layer.vecGPUTasks.clear();
4779 }
4780
4781
4782

Callers

nothing calls this directly

Calls 2

DoGPUTaskMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected