open

abstract fun open(polyUI: PolyUI): Window

open the window with the specified PolyUI instance, and then start the rendering loop. It may be blocking or non-blocking. Every frame, call the PolyUI.render function to render the UI.