Interpolation

    Image.swift:175
    enum Interpolation

    Cases

    • case nearest

      Performs nearest-neighbor interpolation. If the image is resized, it will be pixelated.

    • case bilinear

      Performs bilinear interpolation. If the image is resized, it will be blurry. This mode is faster than .interpolateCubic, but it results in lower quality.

    • case cubic

      Performs cubic interpolation. If the image is resized, it will be blurry. This mode often gives better results compared to .interpolateBilinear, at the cost of being slower.

    • case trilinear

      Performs bilinear separately on the two most-suited mipmap levels, then linearly interpolates between them.

    • case lanczos

      Performs Lanczos interpolation. This is the slowest image resizing mode, but it typically gives the best results, especially when downscalng images.

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (78) members.

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features