lovr.graphics.getDefaultFilter

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

mode, anisotropy = lovr.graphics.getDefaultFilter()

Arguments

None

Returns

NameTypeDescription
modeFilterModeThe filter mode.
anisotropynumberThe level of anisotropy.

Notes

The default filter is trilinear.

See also