Texture:setFilter

Sets the FilterMode used by the texture.

Texture:setFilter(mode, anisotropy)

Arguments

NameTypeDescription
modeFilterModeThe filter mode.
anisotropynumberThe level of anisotropy to use.

Returns

Nothing

Notes

The default setting for new textures can be set with lovr.graphics.setDefaultFilter.

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

See also