4#include <private/qtquickglobal_p.h>
10#include <QtQuick/qtquickglobal.h>
11#include <QtGui/qcolor.h>
12#include <QtCore/qobject.h>
13#include <QtCore/qsize.h>
14#include <QtCore/qvector.h>
15#include <QtCore/qbytearray.h>
16#include <QtQml/qqml.h>
18#ifndef QQUICKSHADEREFFECTMESH_P_H
19#define QQUICKSHADEREFFECTMESH_P_H
46 QML_UNCREATABLE(
"Cannot create instance of abstract class ShaderEffectMesh.")
68 Q_PROPERTY(
QSize resolution READ resolution WRITE setResolution NOTIFY resolutionChanged)
73 bool validateAttributes(const
QVector<
QByteArray> &attributes,
int *posIndex) override;
76 QString log()
const override {
return m_log; }
78 void setResolution(
const QSize &
res);
79 QSize resolution()
const;
The QColor class provides colors based on RGB, HSV or CMYK values.
void getRgbF(float *r, float *g, float *b, float *a=nullptr) const
Sets the contents pointed to by r, g, b, and a, to the red, green, blue, and alpha-channel (transpare...
static QColor fromRgbF(float r, float g, float b, float a=1.0)
Static convenience function that returns a QColor constructed from the RGB color values,...
QObject * parent() const
Returns a pointer to the parent object.
TileMode horizontalTileMode
void setSize(const QSize &size)
void setVerticalTileMode(TileMode)
bool validateAttributes(const QVector< QByteArray > &attributes, int *posIndex) override
TileMode verticalTileMode
void verticalTileModeChanged()
void horizontalTileModeChanged()
QSGGeometry * updateGeometry(QSGGeometry *geometry, int attrCount, int posIndex, const QRectF &srcRect, const QRectF &rect) override
void setHorizontalTileMode(TileMode)
The QQuickScaleGrid class allows you to specify a 3x3 grid to use in scaling an image.
virtual bool validateAttributes(const QVector< QByteArray > &attributes, int *posIndex)=0
virtual QSGGeometry * updateGeometry(QSGGeometry *geometry, int attrCount, int posIndex, const QRectF &srcRect, const QRectF &rect)=0
virtual QString log() const
\inmodule QtCore\reentrant
The QSGGeometry class provides low-level storage for graphics primitives in the \l{Qt Quick Scene Gra...
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
GLboolean GLboolean GLboolean b
GLboolean GLboolean GLboolean GLboolean a
[7]
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLenum GLsizei GLsizei GLsizei GLint border
#define QML_UNCREATABLE(REASON)
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
QT_BEGIN_NAMESPACE Q_QUICK_EXPORT const char * qtPositionAttributeName()
QColor qt_premultiply_color(const QColor &c)
Q_QUICK_EXPORT const char * qtTexCoordAttributeName()
#define QT_REQUIRE_CONFIG(feature)