The QSGOpaqueTextureMaterial class provides a convenient way of rendering textured geometry in the sc...
void setFiltering(QSGTexture::Filtering filteringType)
Sets the filtering to filtering.
void setVerticalWrapMode(QSGTexture::WrapMode mode)
Sets the vertical wrap mode to mode.
void setHorizontalWrapMode(QSGTexture::WrapMode mode)
Sets the horizontal wrap mode to mode.
void setMipmapFiltering(QSGTexture::Filtering filteringType)
Sets the mipmap mode to filtering.
void setTexture(QSGTexture *texture)
Sets the texture of this material to texture.
The QSGTextureMaterial class provides a convenient way of rendering textured geometry in the scene gr...
QSGMaterialType * type() const override
QSGMaterialShader * createShader(QSGRendererInterface::RenderMode renderMode) const override
Filtering
Specifies how sampling of texels should filter when texture coordinates are not pixel aligned.
WrapMode
Specifies how the sampler should treat texture coordinates.