Pure virtual class to implement rendering separated from the widget and makes the sf::OpenGLWidget th...
Definition OpenGLRenderer.h:12
Definition DemoRenderer.h:9
Definition DemoScene.h:10
void destroy() override
Destroys the scene of for created for the widget.
OpenGLRenderer * create(OpenGLWidget *widget) override
Creates the scene for the passed OpenGL widget.
DemoScene(const Parameters ¶ms)
OpenGLRenderer * renderer() override
Gets the renderer of this scene.
Base class for the interface.
Definition SceneInterface.h:25
Shader program having a default vertex and fragment shader.
Definition ShaderProgram.h:13
Definition DemoRenderer.h:6
Structure passed as a constructor argument.
Definition SceneInterface.h:33