TDME2  1.9.200
Renderer.cpp
Go to the documentation of this file.
2 
3 #include <string>
4 
5 #include <tdme/tdme.h>
6 #include <tdme/engine/Texture.h>
7 #include <tdme/math/Math.h>
8 #include <tdme/math/Matrix4x4.h>
10 
11 using std::string;
12 using std::to_string;
13 
15 
17 using tdme::math::Math;
20 
21 Renderer::Renderer()
22 {
24  ID_NONE = -1;
27  CULLFACE_FRONT = -1;
28  CULLFACE_BACK = -1;
29  TEXTUREUNITS_MAX = -1;
30  PROGRAM_GUI = 1;
31  PROGRAM_OBJECTS = 2;
32  PROGRAM_POINTS = 3;
33  PROGRAM_LINES = 4;
34  PROGRAM_COMPUTE = 5;
43  FRONTFACE_CW = -1;
44  FRONTFACE_CCW = -1;
45  LIGHTING_NONE = 0;
53  LIGHTING_PBR = 2;
57  viewPortWidth = 0;
58  viewPortHeight = 0;
59  TEXTUREUNITS_MAX = 2;
64  effectPass = 0;
65 }
66 
68 }
Texture entity.
Definition: Texture.h:24
Standard math functions.
Definition: Math.h:19
Matrix4x4 class representing matrix4x4 mathematical structure and operations for 3d space.
Definition: Matrix4x4.h:23
Matrix4x4 & identity()
Creates identity matrix.
Definition: Matrix4x4.h:158
Byte buffer class.
Definition: ByteBuffer.h:27