destroy

fun destroy(engine: Engine?)

Destroys engine and every resource it still tracks. Blocking; destroy the Renderer, View, Scene and other resources first.