Instance Property

minFilter

The filter mode for rendering textures at sizes smaller than that of the original image.

Declaration

var minFilter: MDLMaterialTextureFilterMode { get set }

Discussion

Texture filtering determines the appearance of a rendered surface when portions of the surface appear larger or smaller than the original texture image. For example, the texture coordinates at a point far from the camera may correspond to an area of several texels. A renderer uses the minification filter to determine the color of the sampled texel at that point.

The default value is MDLMaterialTextureFilterMode.linear, indicating that a renderer should linearly interpolate between texels.

See Also

Managing Texture Filter Modes

var magFilter: MDLMaterialTextureFilterMode

The filter mode for rendering textures at sizes larger than that of the original image.

var mipFilter: MDLMaterialMipMapFilterMode

The filter mode for rendering textures using mipmapping.