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

Class LayerDesc

olcPixelGameEngine.h:1246–1258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected