47 Q_PROPERTY(
QRectF sourceRect READ sourceRect WRITE setSourceRect NOTIFY sourceRectChanged)
48 Q_PROPERTY(
QSize textureSize READ textureSize WRITE setTextureSize NOTIFY textureSizeChanged)
50 Q_PROPERTY(
bool live READ live WRITE setLive NOTIFY liveChanged)
51 Q_PROPERTY(
bool hideSource READ hideSource WRITE setHideSource NOTIFY hideSourceChanged)
52 Q_PROPERTY(
bool mipmap READ mipmap WRITE setMipmap NOTIFY mipmapChanged)
53 Q_PROPERTY(
bool recursive READ recursive WRITE setRecursive NOTIFY recursiveChanged)
54 Q_PROPERTY(
TextureMirroring textureMirroring READ textureMirroring WRITE setTextureMirroring NOTIFY textureMirroringChanged REVISION(2, 6))
82 MirrorHorizontally = 0x01,
83 MirrorVertically = 0x02
90 WrapMode wrapMode()
const;
91 void setWrapMode(WrapMode
mode);
99 QSize textureSize()
const;
106 void setLive(
bool live);
108 bool hideSource()
const;
109 void setHideSource(
bool hide);
114 bool recursive()
const;
115 void setRecursive(
bool enabled);
117 TextureMirroring textureMirroring()
const;
118 void setTextureMirroring(TextureMirroring mirroring);
126 void setSamples(
int count);
145 void invalidateSceneGraph();
148 void releaseResources()
override;
155 void ensureTexture();
166 uint m_hideSource : 1;
168 uint m_recursive : 1;
170 uint m_textureMirroring : 2;
The QSGTextureProvider class encapsulates texture based entities in QML.