SCNFilterMode
Texture filtering modes, used by the Minificationfilter, Magnificationfilter, and Mipfilter properties.
Declaration
enum SCNFilterModeOverview
Texture filtering determines the appearance of a material property’s contents when portions of the material surface appear larger or smaller than the original texture image. For example, when a texture is applied to a plane that recedes away from the camera into the distance:
The texture coordinates at a point near the camera may correspond to a small fraction of a pixel in the original image. SceneKit uses the magnificationFilter property to determine the color of the sampled texel at that point.
The texture coordinates at a point far from the camera may correspond to an area of several pixels in the original image. SceneKit uses the minificationFilter property to determine the color of the sampled texel at that point.
SceneKit also uses the filter specified by the mipFilter property when generating mipmap levels for a texture image.