Format
Specifies the texture format.
QSGTexture::Filtering mipmapFiltering() const
Returns whether mipmapping should be used when sampling from this texture.
void setFiltering(Filtering filter)
Sets the sampling mode to filter.
QScopedPointer< QSGVideoTexturePrivate > d_ptr
QRhiTexture * rhiTexture() const override
bool hasAlphaChannel() const override
Returns true if the texture data contains an alpha channel.
qint64 comparisonKey() const override
Returns a key suitable for comparing textures.
QSize textureSize() const override
Returns the size of the texture in pixels.
bool hasMipmaps() const override
Returns true if the texture data contains mipmap levels.
void setData(QRhiTexture::Format f, const QSize &s, const uchar *data, int bytes)
void setRhiTexture(QRhiTexture *texture)