Difference between revisions of "(Image):getFilter"
m (Remove parent) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 10: | Line 10: | ||
{{param|FilterMode|min|Filter mode used when minifying the image.}} | {{param|FilterMode|min|Filter mode used when minifying the image.}} | ||
{{param|FilterMode|mag|Filter mode used when magnifying the image.}} | {{param|FilterMode|mag|Filter mode used when magnifying the image.}} | ||
+ | == Function == | ||
+ | {{newin|[[0.9.0]]|090|type=variant}} | ||
+ | === Synopsis === | ||
+ | <source lang="lua"> | ||
+ | min, mag, anisotropy = Image:getFilter( ) | ||
+ | </source> | ||
+ | === Arguments === | ||
+ | None. | ||
+ | === Returns === | ||
+ | {{param|FilterMode|min|Filter mode used when minifying the image.}} | ||
+ | {{param|FilterMode|mag|Filter mode used when magnifying the image.}} | ||
+ | {{param|number|anisotropy|Maximum amount of anisotropic filtering used.}} | ||
== See Also == | == See Also == | ||
− | * [[ | + | * [[Image]] |
* [[FilterMode]] | * [[FilterMode]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Gets the filter mode for an image.}} | {{#set:Description=Gets the filter mode for an image.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|(Image):getFilter}} | {{i18n|(Image):getFilter}} |
Latest revision as of 00:12, 20 July 2017
Gets the filter mode for an image.
Contents
Function
Synopsis
min, mag = Image:getFilter( )
Arguments
None.
Returns
FilterMode min
- Filter mode used when minifying the image.
FilterMode mag
- Filter mode used when magnifying the image.
Function
Available since LÖVE 0.9.0 |
This variant is not supported in earlier versions. |
Synopsis
min, mag, anisotropy = Image:getFilter( )
Arguments
None.
Returns
FilterMode min
- Filter mode used when minifying the image.
FilterMode mag
- Filter mode used when magnifying the image.
number anisotropy
- Maximum amount of anisotropic filtering used.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info