Ownership of QSGTextureProvider object and of the QSGTexture object it provides
-
I have code like this:
QQuickItem* texSource = /*...*/; QSGTextureProvider* texProvider = texSource->textureProvider(); QSGTexture* tex = texProvider->texture();Should I delete
texProviderandtexwhen I no longer need them? (which, fortexProvider, means "right after I take the texture from it")I'd like answers to be supported with references.