Texture:setFilter
Sets the FilterMode
used by the texture.
Texture:setFilter(mode, anisotropy)
Arguments
Name | Type | Description |
mode | FilterMode | The filter mode. |
anisotropy | number | The 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
lovr.graphics.getDefaultFilter
lovr.graphics.setDefaultFilter
lovr.graphics.getLimits
Texture:getFilter
Texture