Difference between revisions of "love.graphics.getDefaultFilter"

(Created page with "{{newin|0.9.0|090|type=function|text=It has been renamed from love.graphics.getDefaultImageFilter}} Returns the default scaling filters used with Images, Canvases...")
 
m
 
(One intermediate revision by one other user not shown)
Line 15: Line 15:
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
 
* [[love.graphics.setDefaultFilter]]
 
* [[love.graphics.setDefaultFilter]]
 +
* [[FilterMode]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Returns the default scaling filters.}}
+
{{#set:Description=Returns the default scaling filters used with [[Image]]s, [[Canvas]]es, and [[Font]]s.}}
 
{{#set:Since=090}}
 
{{#set:Since=090}}
 
{{#set:Sub-Category=State}}
 
{{#set:Sub-Category=State}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.graphics.getDefaultFilter}}
 
{{i18n|love.graphics.getDefaultFilter}}

Latest revision as of 18:44, 1 June 2014

Available since LÖVE 0.9.0
It has been renamed from love.graphics.getDefaultImageFilter.

Returns the default scaling filters used with Images, Canvases, and Fonts.

Function

Synopsis

min, mag, anisotropy = love.graphics.getDefaultFilter( )

Arguments

None.

Returns

FilterMode min
Filter mode used when scaling the image down.
FilterMode mag
Filter mode used when scaling the image up.
number anisotropy
Maximum amount of Anisotropic Filtering used.

See Also


Other Languages