Difference between revisions of "love.graphics.setDefaultFilter"

m
(Arguments: - Noted implicit default for upscaling filter mode.)
Line 9: Line 9:
 
=== Arguments ===
 
=== Arguments ===
 
{{param|FilterMode|min|Filter mode used when scaling the image down.}}
 
{{param|FilterMode|min|Filter mode used when scaling the image down.}}
{{param|FilterMode|mag|Filter mode used when scaling the image up.}}
+
{{param|FilterMode|mag (min)|Filter mode used when scaling the image up.}}
 
{{param|number|anisotropy (1)|Maximum amount of Anisotropic Filtering used.}}
 
{{param|number|anisotropy (1)|Maximum amount of Anisotropic Filtering used.}}
 +
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.

Revision as of 06:09, 30 August 2021

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

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

O.png This function does not apply retroactively to loaded images. Existing objects retain their current scaling filters.  


Function

Synopsis

love.graphics.setDefaultFilter( min, mag, anisotropy )

Arguments

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

Returns

Nothing.

See Also


Other Languages