QSGPlainTexturePrivate(QSGTexture *t)
QSGTexture::Filtering m_last_mipmap_filter
void setTextureSize(const QSize &size)
uint m_dirty_bind_options
static QSGPlainTexture * fromImage(const QImage &image)
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.
void setOwnsTexture(bool owns)
QSize textureSize() const override
Returns the size of the texture in pixels.
void setHasAlphaChannel(bool alpha)
Filtering
Specifies how sampling of texels should filter when texture coordinates are not pixel aligned.