Sets the filter mode for an image.
== Function ==
=== Synopsis ===
<source lang="lua">
Image:setFilter( min, mag )
</source>
=== Arguments ===
{{param|FilterMode|min|How to scale an image down.}}
{{param|FilterMode|mag|How to scale an image up.}}
=== Returns ===
Nothing.
== Function ==
{{newin|[[0.9.0]]|090|type=variant}}
=== Synopsis ===
<source lang="lua">
Image:setFilter( min, mag, anisotropy )
</source>
=== Arguments ===
{{param|FilterMode|min|How to scale an image down.}}
{{param|FilterMode|mag|How to scale an image up.}}
{{param|number|anisotropy (1)|Maximum amount of anisotropic filtering used.}}
=== Returns ===
Nothing.
== See Also ==
* [[Image]]
* [[FilterMode]]
[[Category:Functions]]
{{#set:Description=Sets the filter mode for an image.}}
{{#set:Since=000}}
== Other Languages ==
{{i18n|(Image):setFilter}}