static QPixmap fromImage(const QImage &image, Qt::ImageConversionFlags flags=Qt::AutoColor)
Converts the given image to a pixmap using the specified flags to control the conversion.
bool hasAlphaChannel() const override
Returns true if the texture data contains an alpha channel.
bool hasMipmaps() const override
Returns true if the texture data contains mipmap levels.
QSize textureSize() const override
Returns the size of the texture in pixels.
qint64 comparisonKey() const override
Returns a key suitable for comparing textures.
QSGSoftwarePixmapTexture(const QImage &image, uint flags)