MCPcopy Create free account
hub / github.com/crownengine/crown / light

Method light

src/world/render_world.cpp:3062–3065  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3060}
3061
3062LightId RenderWorld::LightManager::light(UnitId unit)
3063{
3064 return make_instance(hash_map::get(_map, unit, UINT32_MAX));
3065}
3066
3067void RenderWorld::LightManager::destroy()
3068{

Callers 2

light_instanceMethod · 0.80
update_transformsMethod · 0.80

Calls 2

getFunction · 0.85
make_instanceFunction · 0.70

Tested by

no test coverage detected