MTLSamplerMipFilter

Filtering options for determining what pixel value is returned with multiple mipmap levels.

Values

ValueMeaning
NotMipmapped0

The texture is sampled from mipmap level 0, and other mipmap levels are ignored.

Nearest1

The nearest mipmap level is selected.

Linear2

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

Meta