lovr.graphics.setDefaultFilter

Sets the default filter mode for new Textures. This controls how textures are sampled when they are minified, magnified, or stretched.

lovr.graphics.setDefaultFilter(mode, anisotropy)

Arguments

NameTypeDescription
modeFilterModeThe filter mode.
anisotropynumberIf the filtering mode is "anisotropic", returns the level of anisotropy. Otherwise, this will be nil.

Returns

Nothing

See also