Window.create
- void create(VideoMode mode, string title, Style style, const(ContextSettings) settings)
- void create(VideoMode mode, wstring title, Style style, const(ContextSettings) settings)
- void create(VideoMode mode, dstring title, Style style, const(ContextSettings) settings)
- void create(WindowHandle handle, const(ContextSettings) settings)
dsfml window window Window
constructorsdestructorsenumsfunctionspropertiesstatic functionsvariables
Create (or recreate) the window from an existing control.
Use this function if you want to create an OpenGL rendering area into an already existing control. If the window was already created, it closes it first.
The second parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc.