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
texwhen I no longer need them? (which, for
texProvider, means "right after I take the texture from it")
I'd like answers to be supported with references.