class
RenderWindowManager
Handles creation and internal updates relating to render windows.
Public
Constructors
RenderWindowManager
Methods
~RenderWindowManager
CreateRenderWindow
Creates a new render window using the specified options.
Optionally makes the created window a child of another window.
CreateRenderWindowSurface
Creates a render window surface that is appropriate for the currently active platform & GPU backend combination.
Thread safe.
Update
Called once per frame.
Dispatches events.
NotifyWindowDestroyed
Called by the main thread when window is destroyed.
NotifyFocusReceived
Called by the main thread when window receives focus.
NotifyFocusLost
Called by the main thread when window loses focus.
NotifyMouseLeft
Called by the main thread when mouse leaves a window.
RequestShowWindow
Requests a window to be shown or hidden.
Expected to be called from non-main thread, otherwise you can call this directly on the render window.
GetRenderWindows
Returns a list of all open render windows.
GetTopMostModal
Returns the window that is currently the top-most modal window.
Returns null if no modal windows are active.
staticInstance
Returns a reference to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticInstancePtr
Returns a pointer to the module instance.
Module has to have been started up first otherwise an exception will be thrown.
staticShutDown
Shuts down this module and frees any resources it is using.
staticIsStarted
Query if the module has been started.
Fields
Protected
Methods
~Module<T>
OnStartUp
Override if you want your module to be notified once it has been constructed and started.
OnShutDown
Override if you want your module to be notified just before it is deleted.
staticInstanceInternal
Returns a singleton instance of this module.