QQuickTextureFactory Class
The QQuickTextureFactory class provides an interface for loading custom textures from QML. More...
| Header: | #include <QQuickTextureFactory> |
| qmake: | QT += quick |
| Since: | Qt 5.0 |
| Inherits: | QObject |
This class was introduced in Qt 5.0.
Detailed Description
The purpose of the texture factory is to provide a placeholder for a image data that can be converted into an OpenGL texture.
Creating a texture directly is not possible as there is rarely an OpenGL context available in the thread that is responsible for loading the image data.