39 #ifndef OME_QTWIDGETS_GLSL_V110_GLFLATSHADER2D_H 40 #define OME_QTWIDGETS_GLSL_V110_GLFLATSHADER2D_H 42 #include <QOpenGLShader> 43 #include <QOpenGLBuffer> 44 #include <QtGui/QOpenGLFunctions> 46 #include <ome/qtwidgets/glm.h> 60 class GLFlatShader2D :
public QOpenGLShaderProgram,
protected QOpenGLFunctions
85 setCoords(
const GLfloat *offset,
int tupleSize,
int stride = 0);
89 setCoords(QOpenGLBuffer& coords,
const GLfloat *offset,
int tupleSize,
int stride = 0);
132 #endif // OME_QTWIDGETS_GLSL_V110_GLFLATSHADER2D_H