QSGDynamicTexture Class
The QSGDynamicTexture class serves as a baseclass for dynamically changing textures, such as content that is rendered to FBO's. 更多...
头文件: | #include <QSGDynamicTexture> |
qmake: | QT += quick |
基类: | QSGTexture |
公有函数
virtual bool | updateTexture() = 0 |
- 20 个公有函数继承自 QSGTexture
- 32 个公有函数继承自 QObject
其他继承的成员
- 1 个属性继承自 QObject
- 1 个公有槽函数继承自 QObject
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
The QSGDynamicTexture class serves as a baseclass for dynamically changing textures, such as content that is rendered to FBO's.
To update the content of the texture, call updateTexture() explicitly. Simply calling bind() will not update the texture.
Note: All classes with QSG prefix should be used solely on the scene graph's rendering thread. See Scene Graph and Rendering for more information.
成员函数
[pure virtual]
bool QSGDynamicTexture::updateTexture()
Call this function to explicitly update the dynamic texture. Calling bind() will bind the content that was previously updated.
The function returns true if the texture was changed as a resul of the update; otherwise returns false.