W3cubDocs

/LÖVE

(Image):getFilter

Gets the filter mode for an image.

Function

Synopsis

min, mag = Image:getFilter( )

Arguments

None.

Returns

FilterMode min
Filter mode used when minifying the image.
FilterMode mag
Filter mode used when magnifying the image.

Function

Available since LÖVE 0.9.0
This variant is not supported in earlier versions.

Synopsis

min, mag, anisotropy = Image:getFilter( )

Arguments

None.

Returns

FilterMode min
Filter mode used when minifying the image.
FilterMode mag
Filter mode used when magnifying the image.
number anisotropy
Maximum amount of anisotropic filtering used.

See Also


© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/(Image):getFilter