Difference between revisions of "FilterMode"

m
m
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
How the image is filtered when scaling.
 
How the image is filtered when scaling.
 +
 +
[[File:ComparisonFilters.png]]
 
== Constants ==
 
== Constants ==
 
;linear: Scale image with linear interpolation.
 
;linear: Scale image with linear interpolation.
Line 5: Line 7:
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]
* [[(Image):getFilter]]
+
* [[love.graphics.setDefaultFilter]]
* [[(Image):setFilter]]
+
* [[Texture:getFilter]]
 +
* [[Texture:setFilter]]
 
[[Category:Enums]]
 
[[Category:Enums]]
 
{{#set:Description=How the image is filtered when scaling.}}
 
{{#set:Description=How the image is filtered when scaling.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|FilterMode}}
 
{{i18n|FilterMode}}

Latest revision as of 23:44, 5 August 2017

How the image is filtered when scaling.

ComparisonFilters.png

Constants

linear
Scale image with linear interpolation.
nearest
Scale image with nearest neighbor interpolation.

See Also


Other Languages