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.
anisotropynumberIf the filtering mode is "anisotropic", returns the level of anisotropy. Otherwise, this will be nil.

See also