Difference between revisions of "FilterMode"

(update for love 0.6.2)
 
m
 
(6 intermediate revisions by 6 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]]
 +
* [[love.graphics.setDefaultFilter]]
 +
* [[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 ==
 +
{{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