render

fun render()

Handle input events and render the window. Call this in a loop as long as isOpen is true. On OSX, this must be called on the main thread.