42 #ifndef SHADEREFFECTSOURCE_H 43 #define SHADEREFFECTSOURCE_H 45 #include <QDeclarativeItem> 159 #endif // SHADEREFFECTSOURCE_H
bool live
This property holds the optimization flag to define whether the source item content is changing or st...
void updateSizeAndTexture()
void markSceneGraphDirty()
bool hideSource
This property holds the flag to define whether the original source item is hidden when the effect ite...
#define QT_END_NAMESPACE
This macro expands to.
virtual ~ShaderEffectSource()
void markSourceSizeDirty()
void textureSizeChanged()
WrapMode wrapMode() const
WrapMode wrapMode
This property defines the wrap parameter for the source after it has been mapped as a texture...
bool m_checkedForMultisamplingSupport
void setTextureSize(const QSize &size)
QPointer< QDeclarativeItem > m_sourceItem
QSize textureSize() const
ShaderEffectBuffer * m_multisampledFbo
void setSourceItem(QDeclarativeItem *item)
QDeclarativeItem * sourceItem
This property holds the Item which is used as the source for the shader effect.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
The QDeclarativeItem class provides the most basic of all visual items in QML.
QRectF sourceRect
This property can be used to specify margins for the source content.
QRectF sourceRect() const
QSize textureSize
This property holds the size for the texture containing the source content.
The ShaderEffectSource object encapsulates the source content for the ShaderEffectItem.
void derefFromEffectItem()
void setHideSource(bool hide)
ShaderEffectSource(QDeclarativeItem *parent=0)
QDeclarativeItem * sourceItem() const
ShaderEffectBuffer * fbo()
QObject * parent() const
Returns a pointer to the parent object.
bool m_multisamplingSupported
void hide()
Hides the item.
Q_INVOKABLE void grab()
Repaints the source item content into the texture.
The QSize class defines the size of a two-dimensional object using integer point precision.
void setSourceRect(const QRectF &rect)
ShaderEffectBuffer * m_fbo
void setWrapMode(WrapMode mode)
void markSourceItemDirty()