Sets the [[FilterMode|filter mode]] of the Texture.
== 関数 ==
=== 概要 ===
<source lang="lua">
Texture:setFilter( min, mag )
</source>
=== 引数 ===
{{param (日本語)|FilterMode|min|Filter mode to use when minifying the texture (rendering it at a smaller size on-screen than its size in pixels).}}
{{param (日本語)|FilterMode|mag|Filter mode to use when magnifying the texture (rendering it at a larger size on-screen than its size in pixels).}}
=== 返値 ===
ありません。
== 関数 ==
{{newin (日本語)|[[0.9.0 (日本語)|0.9.0]]|090|type=異形}}
=== 概要 ===
<source lang="lua">
Texture:setFilter( min, mag, anisotropy )
</source>
=== 引数 ===
{{param (日本語)|FilterMode|min|Filter mode to use when minifying the texture (rendering it at a smaller size on-screen than its size in pixels).}}
{{param (日本語)|FilterMode|mag|Filter mode to use when magnifying the texture (rendering it at a larger size on-screen than its size in pixels).}}
{{param (日本語)|number|anisotropy (1)|異方性フィルタリングの最大使用量。}}
=== 返値 ===
ありません。
=== 注釈 ===
When mipmapping is used, higher anisotropic filtering values increase the quality of the texture when rendering it with a non-uniform scale, at the expense of a bit of performance.

Most systems support up to 8x or 16x anisotropic filtering.
== 関連 ==
* [[parent::Texture (日本語)]]
* [[Texture:getFilter (日本語)]]
[[Category:Functions (日本語)]]
{{#set:Since=000}}
{{#set:Description=Sets the [[FilterMode|filter mode]] of the Texture.}}
== そのほかの言語 ==
{{i18n (日本語)|Texture:setFilter}}