Enumeration

MDLMaterialTextureFilterMode

Modes for sampling textures at coordinates between texels, used by the minFilter and magFilter properties.

Declaration

enum MDLMaterialTextureFilterMode : UInt

Topics

Constants

case nearest

Sampling at texture coordinates between texels should return the value of the nearest texel.

case linear

Sampling at texture coordinates between texels should linearly interpolate between texel values.