Small World Engine API Reference - v0.46.1
    Preparing search index...

    Variable TextureFilterConst

    TextureFilter: {
        LINEAR: "linear";
        LINEAR_MIPMAP_LINEAR: "linear_mipmap_linear";
        LINEAR_MIPMAP_NEAREST: "linear_mipmap_nearest";
        NEAREST: "nearest";
        NEAREST_MIPMAP_LINEAR: "nearest_mipmap_linear";
        NEAREST_MIPMAP_NEAREST: "nearest_mipmap_nearest";
    } = ...

    Texture filtering modes.

    Type Declaration

    • ReadonlyLINEAR: "linear"

      Linear filtering (smooth).

    • ReadonlyLINEAR_MIPMAP_LINEAR: "linear_mipmap_linear"

      Linear filtering with linear mipmap interpolation.

    • ReadonlyLINEAR_MIPMAP_NEAREST: "linear_mipmap_nearest"

      Linear filtering with nearest mipmap.

    • ReadonlyNEAREST: "nearest"

      Nearest-neighbor filtering (pixelated).

    • ReadonlyNEAREST_MIPMAP_LINEAR: "nearest_mipmap_linear"

      Nearest filtering with linear mipmap interpolation.

    • ReadonlyNEAREST_MIPMAP_NEAREST: "nearest_mipmap_nearest"

      Nearest filtering with nearest mipmap.