Tutorial by Examples

Windows in SFML are represented by one of two classes: sf::Window is a generic window provided by the operating system including an OpenGL render context. sf::RenderWindow is a specialized version of sf::Window that also acts as a sf::RenderTarget, allowing SFML's primitives to be rendered to it...

Page 1 of 1