Eyeshot 10 WinForms API Reference
textureFilteringFunctionType Enumeration

WinForms Assembly > devDept.Graphics Namespace : textureFilteringFunctionType Enumeration
The texture filtering function is used whenever the pixel being textured maps to an area greater (minifying function) or smaller (magnifying function) than one texture element. There are six defined filtering functions. Two of them use the nearest one or nearest four texture elements to compute the texture value. The other four use mipmaps.
Syntax
'Declaration
 
Public Enum textureFilteringFunctionType 
   Inherits System.Enum
public enum textureFilteringFunctionType : System.Enum 
Members
MemberDescription
Linear Returns the weighted average of the four texture elements that are closest to the center of the pixel being textured.
LinearMipmapLinear Chooses the two mipmaps that most closely match the size of the pixel being textured and uses the Linear criterion (a weighted average of the four texture elements that are closest to the center of the pixel) to produce a texture value from each mipmap. The final texture value is a weighted average of those two values.
LinearMipmapNearest Chooses the mipmap that most closely matches the size of the pixel being textured and uses the Linear criterion (a weighted average of the four texture elements that are closest to the center of the pixel) to produce a texture value.
Nearest Returns the value of the texture element that is nearest (in Manhattan distance) to the center of the pixel being textured.
NearestMipmapLinear Chooses the two mipmaps that most closely match the size of the pixel being textured and uses the Nearest criterion (the texture element nearest to the center of the pixel) to produce a texture value from each mipmap. The final texture value is a weighted average of those two values.
NearestMipmapNearest Chooses the mipmap that most closely matches the size of the pixel being textured and uses the Nearest criterion (the texture element nearest to the center of the pixel) to produce a texture value.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         devDept.Graphics.textureFilteringFunctionType

See Also

Reference

devDept.Graphics Namespace