22 #ifndef GFX_OPENGL_SHADERS_H_ 23 #define GFX_OPENGL_SHADERS_H_ 25 #include "common/rect.h" 27 #include "math/rect2d.h" 29 #include "graphics/opengl/shader.h" 31 #include "engines/myst3/gfx.h" 42 void clear()
override;
47 void drawRect2D(
const Common::Rect &rect, uint8 a, uint8 r, uint8 g, uint8 b)
override;
49 float transparency = -1.0,
bool additiveBlending =
false)
override;
50 virtual void drawTexturedRect3D(
const Math::Vector3d &topLeft,
const Math::Vector3d &bottomLeft,
51 const Math::Vector3d &topRight,
const Math::Vector3d &bottomRight,
54 void drawCube(
Texture **textures)
override;
58 Texture *copyScreenshotToTexture()
override;
62 Math::Vector2d scaled(
float x,
float y)
const;
void selectTargetWindow(Window *window, bool is3D, bool scaled) override
Definition: gfx_opengl_shaders.h:35