22 #ifndef PLAYGROUND3D_GFX_OPENGL_H 23 #define PLAYGROUND3D_GFX_OPENGL_H 25 #include "common/rect.h" 26 #include "common/system.h" 28 #include "math/vector3d.h" 30 #include "graphics/opengl/system_headers.h" 32 #include "engines/playground3d/gfx.h" 42 void deinit()
override;
44 void clear(
const Math::Vector4d &clearColor)
override;
51 void setupViewport(
int x,
int y,
int width,
int height)
override;
52 void drawCube(
const Math::Vector3d &pos,
const Math::Vector3d &roll)
override;
53 void drawPolyOffsetTest(
const Math::Vector3d &pos,
const Math::Vector3d &roll)
override;
54 void dimRegionInOut(
float fade)
override;
55 void drawInViewport()
override;
56 void drawRgbaTexture()
override;
58 void enableFog(
const Math::Vector4d &fogColor)
override;
62 GLuint _textureRgbaId[5];
63 GLuint _textureRgbId[5];
64 GLuint _textureRgb565Id[2];
65 GLuint _textureRgba5551Id[2];
66 GLuint _textureRgba4444Id[2];
68 void drawFace(uint face);
73 #endif // PLAYGROUND3D_GFX_OPENGL_H
Definition: gfx_opengl.h:36