QSGTextureProvider Class

The QSGTextureProvider class encapsulates texture based entities in QML. 更多...

头文件: #include <QSGTextureProvider>
qmake: QT += quick
基类: QObject

公有函数

virtual QSGTexture *texture() const = 0
  • 32 个公有函数继承自 QObject

信号

其他继承的成员

  • 1 个属性继承自 QObject
  • 1 个公有槽函数继承自 QObject
  • 1 个公有变量继承自 QObject
  • 10 个静态公有成员继承自 QObject
  • 9 个受保护的函数继承自 QObject
  • 2 个受保护的变量继承自 QObject

详细描述

The QSGTextureProvider class encapsulates texture based entities in QML.

The QSGTextureProvider lives primarily in the scene graph rendering thread.

参见 Scene Graph - Two Texture Providers.

成员函数

[pure virtual] QSGTexture *QSGTextureProvider::texture() const

Returns a pointer to the texture object.

[signal] void QSGTextureProvider::textureChanged()

This signal is emitted when the texture changes.