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" 46 void deinit()
override;
48 void clear(
const Math::Vector4d &clearColor)
override;
55 void setupViewport(
int x,
int y,
int width,
int height)
override;
56 void drawCube(
const Math::Vector3d &pos,
const Math::Vector3d &roll)
override;
57 void drawPolyOffsetTest(
const Math::Vector3d &pos,
const Math::Vector3d &roll)
override;
58 void dimRegionInOut(
float fade)
override;
59 void drawInViewport()
override;
60 void drawRgbaTexture()
override;
62 void enableFog(
const Math::Vector4d &fogColor)
override;
63 void disableFog()
override;
65 void enableScissor(
int x,
int y,
int width,
int height)
override;
66 void disableScissor()
override;
72 void drawFace(uint face);
77 #endif // PLAYGROUND3D_GFX_OPENGL_H
Definition: gfx_opengl.h:40
Definition: renderbuffer.h:27
T MAX(T a, T b)
Definition: util.h:64