Created page |
m Table, more info, categories, the usual |
||
Line 1: | Line 1: | ||
TextureFilterMode is | '''TextureFilterMode''' is an [[Enum]] used by Texture components. It determines the [[Wikipedia:Texture filtering|method of filtering]] done on the texture's pixels when it magnified or minified when viewed. | ||
{{Table EnumValues | |||
|Point|0|Uses point sampling, also known as "Nearest Neighbor". This is generally used for pixel art as it provides a "blocky" aesthetic. | |||
|Bilinear|1|Bilinear filtering between pixels, but only on a single mip map. | |||
|Trilinear|2|Trilinear filtering between pixels and the two nearest mip maps. | |||
|Anisotropic|3|Anisotropic filtering is used. The anisotropic level is controlled by a different field on the texture component. | |||
}} | |||
[[Category:Enums]] | |||
[[Category:Types]] | |||
Revision as of 15:15, 7 March 2024
TextureFilterMode is an Enum used by Texture components. It determines the method of filtering done on the texture's pixels when it magnified or minified when viewed.
Name | Value | Description |
---|---|---|
Point
|
0 | Uses point sampling, also known as "Nearest Neighbor". This is generally used for pixel art as it provides a "blocky" aesthetic. |
Bilinear
|
1 | Bilinear filtering between pixels, but only on a single mip map. |
Trilinear
|
2 | Trilinear filtering between pixels and the two nearest mip maps. |
Anisotropic
|
3 | Anisotropic filtering is used. The anisotropic level is controlled by a different field on the texture component. |