RenderWindow.create
- void create(VideoMode mode, const(char)[] title, Style style, ContextSettings settings)
- void create(VideoMode mode, const(wchar)[] title, Style style, ContextSettings settings)
- void create(VideoMode mode, const(dchar)[] title, Style style, ContextSettings settings)
class RenderWindow
override
void
create
(,,Style style = Style.DefaultStyle ,) - void create(WindowHandle handle, ContextSettings settings)
nudsfml graphics renderwindow RenderWindow
constructorsdestructorsfunctionspropertiesstatic functionsvariables
Create (or recreate) the window.
If the window was already created, it closes it first. If style contains Window.Style.Fullscreen, then mode must be a valid video mode.
The fourth parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc.