22 #ifndef PLAYGROUND3D_GFX_OPENGL_SHADERS_H 23 #define PLAYGROUND3D_GFX_OPENGL_SHADERS_H 25 #include "common/rect.h" 27 #include "math/rect2d.h" 29 #include "graphics/opengl/shader.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;
89 #endif // PLAYGROUND3D_GFX_OPENGL_SHADERS_H
Definition: renderbuffer.h:27
Definition: gfx_opengl_shaders.h:40
T MAX(T a, T b)
Definition: util.h:64