Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
353
std::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_F
Function · 0.85
Calls
1
foreachLight
Method · 0.80
Tested by
no test coverage detected