Contents

MTLSamplerMipFilter.linear

If the filter falls between mipmap levels, both levels are sampled and the results are determined by linear interpolation between levels.

Declaration

case linear

Discussion

Support for linear filtering between mipmaps varies by GPU and the format of the texture being sampled. For example, you can’t use linear filtering on textures with an integer format, and only some device objects support linear filtering for textures with a floating-point format. To determine whether linear filtering is available for a specific texture format, see:

See Also

Specifying mip filter options