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" 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;
70 GLuint _textureRgbaId[5];
71 GLuint _textureRgbId[5];
72 GLuint _textureRgb565Id[2];
73 GLuint _textureRgba5551Id[2];
74 GLuint _textureRgba4444Id[2];
79 #endif // PLAYGROUND3D_GFX_OPENGL_SHADERS_H
Definition: gfx_opengl_shaders.h:36