Difference between revisions of "love.graphics.setDefaultImageFilter"

(Added love.graphics.setDefaultImageFilter.)
 
(the page is for SET not GET :P)
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.graphics.getDefaultImageFilter( min, mag )
+
love.graphics.setDefaultImageFilter( min, mag )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Revision as of 00:12, 26 April 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.

See Also


Other Languages