22 #ifndef TETRAEDGE_TE_TE_RENDERER_TINYGL_H 23 #define TETRAEDGE_TE_TE_RENDERER_TINYGL_H 25 #if defined(USE_TINYGL) 27 #include "tetraedge/te/te_renderer.h" 31 class TeRendererTinyGL :
public TeRenderer {
35 void clearBuffer(TeRenderer::Buffer buf)
override;
36 void colorMask(
bool r,
bool g,
bool b,
bool a)
override;
37 void disableAllLights()
override;
38 void disableTexture()
override;
39 void disableWireFrame()
override;
40 void disableZBuffer()
override;
41 void drawLine(
const TeVector3f32 &from,
const TeVector3f32 &to)
override;
42 void enableAllLights()
override;
43 void enableTexture()
override;
44 void enableWireFrame()
override;
45 void enableZBuffer()
override;
46 void init(uint width, uint height)
override;
47 void loadProjectionMatrix(
const TeMatrix4x4 &matrix)
override;
49 void renderTransparentMeshes()
override;
50 void reset()
override;
51 void setClearColor(
const TeColor &col)
override;
52 void setCurrentColor(
const TeColor &col)
override;
53 void setMatrixMode(
enum MatrixMode mode)
override;
54 void setViewport(
int x,
int y,
int w,
int h)
override;
55 void shadowMode(
enum ShadowMode mode)
override;
56 void applyMaterial(
const TeMaterial &m)
override;
57 void updateGlobalLight()
override;
58 void updateScreen()
override;
63 void loadMatrixToGL(
const TeMatrix4x4 &matrix)
override;
70 #endif // TETRAEDGE_TE_TE_RENDERER_H
Definition: detection.h:27