Creates a new immediate-mode controller. The function passed in should be able to create the runtime for the controller whenever it is displayed on screen. The resources and the UI can be specified ahead of time to avoid any point where the controller might display an empty UI due to the runtime initialising late.
(resources: ControllerResources, default_ui: UiBinding, create_runtime: TNewFuture)