Instance Property

mipFilter

The filter mode for rendering textures using mipmapping.

Declaration

@property(nonatomic, assign) MDLMaterialMipMapFilterMode mipFilter;

Discussion

Mipmapping is a technique that can increase rendering performance when rendering a texture image at smaller sizes. A texture can contain several mipmap levels for its image contents, each at a fraction of the original image’s size. A renderer samples texels from the mipmap level closest to the size being rendered.

The default value is MDLMaterialMipMapFilterModeLinear, indicating that a renderer should linearly interpolate between mipmap levels.

See Also

Managing Texture Filter Modes

minFilter

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

magFilter

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