DefaultCanvasItemTextureFilter

    Viewport.swift:275
    enum DefaultCanvasItemTextureFilter

    Cases

    • case nearest

      The texture filter reads from the nearest pixel only. This makes the texture look pixelated from up close, and grainy from a distance (due to mipmaps not being sampled).

    • case linear

      The texture filter blends between the nearest 4 pixels. This makes the texture look smooth from up close, and grainy from a distance (due to mipmaps not being sampled).

    • case linearWithMipmaps

      The texture filter blends between the nearest 4 pixels and between the nearest 2 mipmaps (or uses the nearest mipmap if ProjectSettings/rendering/textures/defaultFilters/useNearestMipmapFilter is true). This makes the texture look smooth from up close, and smooth from a distance.

    • case nearestWithMipmaps

      The texture filter reads from the nearest pixel and blends between the nearest 2 mipmaps (or uses the nearest mipmap if ProjectSettings/rendering/textures/defaultFilters/useNearestMipmapFilter is true). This makes the texture look pixelated from up close, and smooth from a distance.

    • case max

      Represents the size of the DefaultCanvasItemTextureFilter enum.

    Other members in extension

    View members

    Hide members

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

    Types

    Type members

    Instance members

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features