Difference between revisions of "love.graphics.setDefaultImageFilter"

(the page is for SET not GET :P)
(Made a mention about retroactive settings)
Line 11: Line 11:
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
 +
 +
== Notes ==
 +
This function does not apply retroactively to loaded images. To apply the filter to all images, call this function before loading any images.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 13:34, 2 August 2012

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

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. To apply the filter to all images, call this function before loading any images.

See Also


Other Languages