Difference between revisions of "love.graphics.setDefaultImageFilter"

(Made a mention about retroactive settings)
m
Line 13: Line 13:
  
 
== Notes ==
 
== Notes ==
This function does not apply retroactively to loaded images. To apply the filter to all images, call this function before loading any images.
+
This function does not apply retroactively to loaded images. To set 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:35, 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 set the filter to all images, call this function before loading any images.

See Also


Other Languages