MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / foreachLight

Method foreachLight

radiantcore/rendersystem/OpenGLRenderSystem.cpp:468–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

466}
467
468void OpenGLRenderSystem::foreachLight(const std::function<void(const RendererLightPtr&)>& functor)
469{
470 std::for_each(_lights.begin(), _lights.end(), functor);
471}
472
473IGeometryStore& OpenGLRenderSystem::getGeometryStore()
474{

Callers 2

getAllRenderLightsFunction · 0.80
getLightCountFunction · 0.80

Calls 3

for_eachFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected