toggleFullscreen
method to enter / leave borderless fullscreen, added isFullscreen
getter. Restores the previous window position and size after leaving fullscreenisMinimized
getter. This fixes error spam while the window is minimized in windows (incomplete framebuffer warnings)requestClose
method to shut down the application as if the window had been closedsetCreateSecondaryContext(true)
is called (defaults to false). Can be retrieved using secondaryContext()
, analogous to existing window()
method. Useful for multithreaded interaction with OpenGL, like asset loadingscheduledUpdate
method which is called in the interval specified by calling setScheduledUpdateInterval
(defaults to 0, which means never). Useful to perform clean up tasks