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

Method light_create

src/world/render_world.cpp:621–626  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

619}
620
621LightId RenderWorld::light_create(UnitId unit, const LightDesc &ld)
622{
623 u32 unit_index = 0;
624 _light_manager.create_instances(&ld, 1, &unit, &unit_index);
625 return light_instance(unit);
626}
627
628void RenderWorld::light_destroy(LightId light)
629{

Callers 1

load_apiFunction · 0.80

Calls 1

create_instancesMethod · 0.45

Tested by

no test coverage detected