Available since LÖVE 0.9.0
This function is not supported in earlier versions.
Sets the mipmap filter mode for an Image.
Mipmapping is useful when drawing an image at a reduced scale. It can improve performance and reduce aliasing issues.
Image:setMipmapFilter( filtermode, sharpness )
number sharpness (0)
On mobile devices (Android and iOS), the sharpness parameter is not supported and will do nothing. You can use a custom Shader instead, and specify the mipmap sharpness in the optional third parameter to the
Texel function in the shader (a negative value makes the image use a more detailed mipmap level.)
In versions prior to 0.10.0, calling this function automatically creates mipmaps for the Image if none exist yet. If the image is compressed and its CompressedData has mipmap data included, it will use that.
Disables mipmap filtering.
© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.