42 #ifndef SHADEREFFECT_H 43 #define SHADEREFFECT_H 45 #include <QGraphicsEffect> 81 #endif // SHADEREFFECT_H The QPainter class performs low-level painting on widgets and other paint devices.
bool hideOriginal() const
#define QT_END_NAMESPACE
This macro expands to.
virtual void draw(QPainter *painter)
This pure virtual function draws the effect and is called whenever the source needs to be drawn...
The QVector class is a template class that provides a dynamic array.
The QObject class is the base class of all Qt objects.
void addRenderTarget(ShaderEffectSource *target)
ShaderEffect(QObject *parent=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
virtual void sourceChanged(ChangeFlags flags)
This virtual function is called by QGraphicsEffect to notify the effect that the source has changed...
void prepareBufferedDraw(QPainter *painter)
void updateRenderTargets()
The ShaderEffectSource object encapsulates the source content for the ShaderEffectItem.
QVector< ShaderEffectSource * > m_renderTargets
QObject * parent() const
Returns a pointer to the parent object.
void removeRenderTarget(ShaderEffectSource *target)
The QGraphicsEffect class is the base class for all graphics effects.