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

Function init

src/device/graph.cpp:754–765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

752 DebugLine *_lines = NULL;
753
754 void init(Allocator &a, Pipeline &pl, ConsoleServer &cs)
755 {
756#if CROWN_DEBUG
757 _allocator = &a;
758 _lines = debug_line::create(a, pl, false);
759
760 cs.register_command_name("graph", "Plot selected profiler data.", graph_internal::handle_command, NULL);
761#else
762 CE_UNUSED_3(a, pl, cs);
763 CE_NOOP();
764#endif
765 }
766
767 void shutdown()
768 {

Callers 7

main_loopMethod · 0.70
main_runtimeFunction · 0.70
InitGlobalsMethod · 0.70
InitGlobalsMethod · 0.70
createMethod · 0.70
android_mainFunction · 0.70
InitGlobalsMethod · 0.70

Calls 2

register_command_nameMethod · 0.80
createFunction · 0.70

Tested by

no test coverage detected