The QSGTexture
Qt’s Documentation says:
The default implementation is not instantiated directly, rather they are constructed via factory functions, such as
QQuickWindow::createTextureFromImage()
My Question is, is there another way to create a QSGTexture
instance ? as inside my application, the returned QSGTexture instance seems to be empty, and the shape of my custom QQuickItem
is filled with black color (even if my QImage
is filled with a monochromatic color, or a gradient one.)
adebono is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.