Difference between revisions of "(Image):getFilter"

(Added anisotropy return value)
m (Remove parent)
 
Line 23: Line 23:
 
{{param|number|anisotropy|Maximum amount of anisotropic filtering used.}}
 
{{param|number|anisotropy|Maximum amount of anisotropic filtering used.}}
 
== See Also ==
 
== See Also ==
* [[parent::Image]]
+
* [[Image]]
 
* [[FilterMode]]
 
* [[FilterMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 00:12, 20 July 2017

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


Other Languages