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.
anisotropynumberThe level of anisotropy to use.

Returns

Nothing

Notes

The default filter is trilinear.

The maximum supported anisotropy level can be queried using lovr.graphics.getLimits.

See also