SimpleGL
1.1.0
A framework for platform independent rendering
Main Page
Namespaces
Classes
Files
File List
File Members
Backends
OpenGL
include
SimpleGL_gl
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
:
31
BatchGL
*
batch
;
32
34
TextureManager
*
textureManager
;
35
37
ShaderManager
*
shaderManager
;
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 */
batching_gl.hpp
sgl::BatchGL
This class is used for batch rendering with OpenGL.
Definition:
batching_gl.hpp:30
sgl
Generic namespace for the SimpleGL framework.
Definition:
application.hpp:18
sgl::ApplicationGL::batch
BatchGL * batch
The batch of this application.
Definition:
application_gl.hpp:31
sgl::TextureManager
This class provides an class for managing textures.
Definition:
manager_gl.hpp:27
sgl::ShaderManager
This class provides an class for managing shaders.
Definition:
manager_gl.hpp:56
sgl::ApplicationGL::shaderManager
ShaderManager * shaderManager
The shader manager of this application.
Definition:
application_gl.hpp:37
sgl::ApplicationGL::textureManager
TextureManager * textureManager
The texture manager of this application.
Definition:
application_gl.hpp:34
sgl::ApplicationGL
This class should get extended by the user when using the OpenGL backend.
Definition:
application_gl.hpp:27
sgl::Application
This is the base class for an application.
Definition:
application.hpp:25
manager_gl.hpp
application.hpp
Generated on Sat Jun 30 2018 21:55:23 for SimpleGL by
1.8.11