RenderWindow.this

Construct the window from an existing control.

Use this constructor if you want to create an DSFML rendering area into an already existing control.

The second parameter is an optional structure specifying advanced OpenGL context settings such as antialiasing, depth-buffer bits, etc. You shouldn't care about these parameters for a regular usage of the graphics module.

Parameters

handle

Platform-specific handle of the control

settings

Additional settings for the underlying OpenGL context

Meta