| 1244 | }; |
| 1245 | |
| 1246 | struct LayerDesc |
| 1247 | { |
| 1248 | olc::vf2d vOffset = { 0, 0 }; |
| 1249 | olc::vf2d vScale = { 1, 1 }; |
| 1250 | bool bShow = false; |
| 1251 | bool bUpdate = false; |
| 1252 | olc::Renderable pDrawTarget; |
| 1253 | uint32_t nResID = 0; |
| 1254 | std::vector<DecalInstance> vecDecalInstance; |
| 1255 | std::vector<GPUTask> vecGPUTasks; |
| 1256 | olc::Pixel tint = olc::WHITE; |
| 1257 | std::function<void()> funcHook = nullptr; |
| 1258 | }; |
| 1259 | |
| 1260 | class Renderer |
| 1261 | { |
nothing calls this directly
no outgoing calls
no test coverage detected