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

Method create_world

src/device/device.cpp:928–941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

926}
927
928World *Device::create_world()
929{
930 World *world = CE_NEW(default_allocator(), World)(default_allocator()
931 , *_resource_manager
932 , *_shader_manager
933 , *_material_manager
934 , *_unit_manager
935 , *_lua_environment
936 , *_pipeline
937 );
938
939 list::add(world->_node, _worlds);
940 return world;
941}
942
943void Device::destroy_world(World &world)
944{

Callers 1

load_apiFunction · 0.80

Calls 1

addFunction · 0.50

Tested by

no test coverage detected