SimpleGL  1.1.0
A framework for platform independent rendering
application_gl.hpp
Go to the documentation of this file.
1 
8 #ifndef APPLICATION_GL_HPP
9 #define APPLICATION_GL_HPP
10 
11 #include <SimpleGL_gl/SimpleGL_gl_Export.h>
12 
13 #include <string>
14 
15 #include <SimpleGL/application.hpp>
16 
17 #include "batching_gl.hpp"
18 #include "manager_gl.hpp"
19 
20 namespace sgl {
21 
27  class SIMPLEGL_GL_EXPORT ApplicationGL : public Application {
28 
29  protected:
32 
35 
38 
39  public:
47  ApplicationGL(int width = 640, int height = 480, std::string title = "SimpleGL Application (OpenGL backend)");
48 
50  ~ApplicationGL(void);
51 
53  void clear() override;
54 
56  void dispose() override;
57  };
58 }
59 
60 #endif /* APPLICATION_GL_HPP */
This class is used for batch rendering with OpenGL.
Definition: batching_gl.hpp:30
Generic namespace for the SimpleGL framework.
Definition: application.hpp:18
BatchGL * batch
The batch of this application.
This class provides an class for managing textures.
Definition: manager_gl.hpp:27
This class provides an class for managing shaders.
Definition: manager_gl.hpp:56
ShaderManager * shaderManager
The shader manager of this application.
TextureManager * textureManager
The texture manager of this application.
This class should get extended by the user when using the OpenGL backend.
This is the base class for an application.
Definition: application.hpp:25