Texture:getFilter

Returns the current FilterMode for the Texture.

mode, anisotropy = Texture:getFilter()

Arguments

None

Returns

NameTypeDescription
modeFilterModeThe filter mode for the Texture.
anisotropynumberIf the filtering mode is "anisotropic", returns the level of anisotropy. Otherwise, this will be nil.

See also