#include <QtCore/qvariant.h>
#include <QtGui/qopenglfunctions.h>
-#ifndef SHADEREFFECTMESH_H
-#define SHADEREFFECTMESH_H
+#ifndef QQUICKSHADEREFFECTMESH_P_H
+#define QQUICKSHADEREFFECTMESH_P_H
QT_BEGIN_HEADER
class QSGGeometry;
class QRectF;
-class Q_DECLARATIVE_EXPORT QSGShaderEffectMesh : public QObject
+class Q_DECLARATIVE_EXPORT QQuickShaderEffectMesh : public QObject
{
Q_OBJECT
public:
- QSGShaderEffectMesh(QObject *parent = 0);
+ QQuickShaderEffectMesh(QObject *parent = 0);
// If 'geometry' != 0, 'attributes' is the same as last time the function was called.
virtual QSGGeometry *updateGeometry(QSGGeometry *geometry, const QVector<QByteArray> &attributes, const QRectF &rect) const = 0;
void geometryChanged();
};
-class QSGGridMesh : public QSGShaderEffectMesh
+class QQuickGridMesh : public QQuickShaderEffectMesh
{
Q_OBJECT
Q_PROPERTY(QSize resolution READ resolution WRITE setResolution NOTIFY resolutionChanged)
public:
- QSGGridMesh(QObject *parent = 0);
+ QQuickGridMesh(QObject *parent = 0);
virtual QSGGeometry *updateGeometry(QSGGeometry *geometry, const QVector<QByteArray> &attributes, const QRectF &rect) const;
void setResolution(const QSize &res);
QT_END_HEADER
-#endif // SHADEREFFECTITEM_H
+#endif // QQUICKSHADEREFFECTMESH_P_H