The QQuickTextureFactory class provides an interface for loading custom textures from QML....
virtual QSize textureSize() const =0
Returns the size of the texture.
virtual int textureByteCount() const =0
Returns the number of bytes of memory the texture consumes.
virtual QSGTexture * createTexture(QQuickWindow *window) const =0
This function is called on the scene graph rendering thread to create a QSGTexture instance from the ...