| 4761 | } |
| 4762 | |
| 4763 | void PixelGameEngine::adv_FlushLayerDecals(const size_t nLayerID) |
| 4764 | { |
| 4765 | // Display Decals in order for this layer |
| 4766 | auto& layer = vLayers[nLayerID]; |
| 4767 | for (auto& decal : layer.vecDecalInstance) |
| 4768 | renderer->DrawDecal(decal); |
| 4769 | layer.vecDecalInstance.clear(); |
| 4770 | } |
| 4771 | |
| 4772 | void PixelGameEngine::adv_FlushLayerGPUTasks(const size_t nLayerID) |
| 4773 | { |