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

Function getLightCount

test/Renderer.cpp:353–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351}
352
353std::size_t getLightCount(RenderSystemPtr& renderSystem)
354{
355 std::size_t count = 0;
356
357 renderSystem->foreachLight([&](const RendererLightPtr&)
358 {
359 ++count;
360 });
361
362 return count;
363}
364
365}
366

Callers 1

TEST_FFunction · 0.85

Calls 1

foreachLightMethod · 0.80

Tested by

no test coverage detected