22 #ifndef ALCACHOFA_GRAPHICS_OPENGL_BASE_H 23 #define ALCACHOFA_GRAPHICS_OPENGL_BASE_H 27 #include "alcachofa/graphics.h" 35 bool hasOutput()
const override;
38 virtual void setViewportInner(
int x,
int y,
int width,
int height) = 0;
39 virtual void setMatrices(
bool flipped) = 0;
42 void setViewportToScreen();
43 void setViewportToRect(int16 outputWidth, int16 outputHeight);
44 void getQuadPositions(Math::Vector2d topLeft, Math::Vector2d size, Math::Angle rotation, Math::Vector2d positions[])
const;
45 void getQuadTexCoords(Math::Vector2d texMin, Math::Vector2d texMax, Math::Vector2d texCoords[])
const;
49 BlendMode _currentBlendMode = (BlendMode)-1;
50 float _currentLodBias = 0.0f;
51 bool _isFirstDrawCommand =
false;
56 #endif // ALCACHOFA_GRAPHICS_OPENGL_BASE_H Definition: alcachofa.h:45
Definition: graphics.h:74
Definition: graphics-opengl-base.h:31