Texture:setFilter

Sets the FilterMode used by the texture.

Texture:setFilter(mode, anisotropy)

Arguments

NameTypeDescription
modeFilterModeThe filter mode.
anisotropynumberThe level of anisotropy to use when using anisotropic filtering.

Returns

Nothing

Notes

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

See also