vispy.visuals.filters.mesh.
TextureFilter
Bases: vispy.visuals.filters.base_filter.Filter
vispy.visuals.filters.base_filter.Filter
Filter to apply a texture to a mesh.
Note the texture is applied by multiplying the texture color by the Visual’s produced color. By specifying color=”white” when creating a MeshVisual the result will be the unaltered texture value. Any other color, including the default, will result in a blending of that color and the color of the texture.
enabled
True to display the texture, False to disable.
texcoords
The texture coordinates as an (N, 2) array of floats.
texture
The texture image.