ComputerGraphik TU WIEN
Main Page
Related Pages
Classes
Files
File List
File Members
include
debug.hpp
Go to the documentation of this file.
1
#ifndef DEBUG_HPP
2
#define DEBUG_HPP
3
4
#include <string>
5
6
class
Scene
;
7
class
Shader
;
8
class
Texture
;
9
11
class
Debug
{
12
public
:
13
Debug
(
Scene
*
scene
,
const
char
*
windowTitle
);
14
~Debug
();
15
16
void
update
(
double
time,
double
deltaT);
17
18
static
void
enableWindowsDebug
();
19
20
private
:
21
Scene
*
scene
;
22
23
size_t
frameCount
;
24
double
minDeltaT
;
25
double
maxDeltaT
;
26
double
lastTime
;
27
double
lastKeyTime
;
28
double
lastTitleTime
;
29
30
int
minFilterMode
;
31
int
magFilterMode
;
32
bool
frameTimeOn
;
33
bool
wireFrameOn
;
34
bool
transparencyOn
;
35
std::string
windowTitle
;
36
};
37
38
#endif //DEBUG_HPP
Debug::minDeltaT
double minDeltaT
Definition:
debug.hpp:24
Debug::lastTitleTime
double lastTitleTime
Definition:
debug.hpp:28
Debug::update
void update(double time, double deltaT)
Definition:
debug.cpp:53
Debug::frameTimeOn
bool frameTimeOn
Definition:
debug.hpp:32
Debug::minFilterMode
int minFilterMode
Definition:
debug.hpp:30
Debug::~Debug
~Debug()
Definition:
debug.cpp:47
Debug::wireFrameOn
bool wireFrameOn
Definition:
debug.hpp:33
Debug::windowTitle
std::string windowTitle
Definition:
debug.hpp:35
Scene
Encapsulates the Rendering Engine, holds a complete scene and it's assets.
Definition:
scene.hpp:71
Debug::enableWindowsDebug
static void enableWindowsDebug()
Definition:
debug.cpp:597
Debug::Debug
Debug(Scene *scene, const char *windowTitle)
Definition:
debug.cpp:29
Texture
Encapsulates a texture in the GPU.
Definition:
texture.hpp:10
Debug::frameCount
size_t frameCount
Definition:
debug.hpp:23
Debug::lastKeyTime
double lastKeyTime
Definition:
debug.hpp:27
Debug::maxDeltaT
double maxDeltaT
Definition:
debug.hpp:25
Shader
Encapsulates a shader program.
Definition:
shader.hpp:9
Debug::lastTime
double lastTime
Definition:
debug.hpp:26
Debug::scene
Scene * scene
Definition:
debug.hpp:21
Debug
The switches to experiment OpenGL performance and quality are implemented here.
Definition:
debug.hpp:11
Debug::transparencyOn
bool transparencyOn
Definition:
debug.hpp:34
Debug::magFilterMode
int magFilterMode
Definition:
debug.hpp:31
Generated on Mon Jun 8 2015 11:43:55 for ComputerGraphik TU WIEN by
1.8.9.1