MCPcopy Create free account
hub / github.com/DFHack/dfhack / lightingEngineViewscreen

Method lightingEngineViewscreen

plugins/rendermax/renderer_light.cpp:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 return mkrect_wh(1,1,view_rb,view_height+1);
103}
104lightingEngineViewscreen::lightingEngineViewscreen(renderer_light* target):lightingEngine(target),threading(this),doDebug(false)
105{
106 reinit();
107 defaultSettings();
108 int numThreads=std::thread::hardware_concurrency();
109 if(numThreads==0)numThreads=1;
110 threading.start(numThreads);
111}
112
113void lightingEngineViewscreen::reinit()
114{

Callers

nothing calls this directly

Calls 1

startMethod · 0.45

Tested by

no test coverage detected