|QSharedPointer< QSGTexture >||loadTexture (QQuickWindow *window, const QImage &image, QQuickWindow::CreateTextureOptions options)|
|QSharedPointer< QSGTexture >||loadTexture (QQuickWindow *window, const QImage &image)|
Helps to manage textures by creating images and reference counts them.
Use this class as a factory for textures, when creating them from a QImage instance. Keeps track of all the created textures in a map between the QImage::cacheKey() and the cached texture until it gets de-referenced.
- See also
Member Function Documentation
|QSharedPointer< QSGTexture > ImageTexturesCache::loadTexture||(||QQuickWindow *||window,|
|const QImage &||image,|
The documentation for this class was generated from the following files: