Luna::Window::new_window
R< Ref< IWindow > > new_window(const c8 *title, const WindowDisplaySettings &display_settings, WindowCreationFlag flags=WindowCreationFlag::none)
Creates one new window. The new window will be displayed immediately unless WindowCreationFlag::hidden is set.
Parameters
-
in title
The title of the window.
-
in display_settings
The initial display settings for the window.
-
in flags
Additional window creation flags.
Return value
Returns the created window.
Valid Usage
- This function can only be called by the main thread.