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

Function destroy

src/device/graph.cpp:480–484  ·  view source on GitHub ↗

Destroys the specified @a graph.

Source from the content-addressed store, hash-verified

478
479 /// Destroys the specified @a graph.
480 void destroy(Graph *graph)
481 {
482 list::remove(graph->_node);
483 CE_DELETE(default_allocator(), graph);
484 }
485
486 /// Returns the graph with the specified @a name or NULL if no graph is found.
487 Graph *find(ListNode &head, const char *name)

Callers 5

main_loopMethod · 0.70
~InputManagerMethod · 0.70
createMethod · 0.70
destroyMethod · 0.70
resetMethod · 0.70

Calls 1

removeFunction · 0.50

Tested by

no test coverage detected