Difference between revisions of "love.graphics.setDefaultImageFilter"

(Made a mention about retroactive settings)
m
 
(5 intermediate revisions by 2 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 ==
Line 13: Line 13:
  
 
== Notes ==
 
== Notes ==
This function does not apply retroactively to loaded images. To apply the filter to all images, call this function before loading any images.
+
This function does not apply retroactively to loaded images.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
Line 20: 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