Difference between revisions of "love.graphics.setDefaultImageFilter"

(Added love.graphics.setDefaultImageFilter.)
 
m
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{newin|[[0.8.0]]|080|type=function}}
+
{{newinoldin|[[0.8.0]]|080|[[0.9.0]]|090|type=function|text=It has been renamed to [[love.graphics.setDefaultFilter]]}}
 
Sets the default scaling filters.
 
Sets the default scaling filters.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.graphics.getDefaultImageFilter( min, mag )
+
love.graphics.setDefaultImageFilter( min, mag )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
Line 11: Line 11:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 +
== Notes ==
 +
This function does not apply retroactively to loaded images.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
Line 17: Line 20:
 
{{#set:Description=Sets the default scaling filters.}}
 
{{#set:Description=Sets the default scaling filters.}}
 
{{#set:Since=080}}
 
{{#set:Since=080}}
 +
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
{{i18n|love.graphics.getDefaultImageFilter}}
+
{{i18n|love.graphics.setDefaultImageFilter}}

Latest revision as of 04:12, 9 September 2016

Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0
It has been renamed to love.graphics.setDefaultFilter.

Sets the default scaling filters.

Function

Synopsis

love.graphics.setDefaultImageFilter( min, mag )

Arguments

FilterMode min
Filter mode used when scaling the image down.
FilterMode mag
Filter mode used when scaling the image up.

Returns

Nothing.

Notes

This function does not apply retroactively to loaded images.

See Also


Other Languages