FilterQuality

public enum FilterQuality : UInt32

Controls how much filtering to be done when scaling/transforming complex colors

  • fastest but lowest quality, typically nearest-neighbor

    Declaration

    Swift

    case none = 0
  • low

    typically bilerp

    Declaration

    Swift

    case low
  • typically bilerp + mipmaps for down-scaling

    Declaration

    Swift

    case medium
  • slowest but highest quality, typically bicubic or better

    Declaration

    Swift

    case high