Enum Class MipmapFilteringType

java.lang.Object
java.lang.Enum<MipmapFilteringType>
com.luciad.drawing.MipmapFilteringType
All Implemented Interfaces:
Serializable, Comparable<MipmapFilteringType>, Constable

public enum MipmapFilteringType extends Enum<MipmapFilteringType>
Mipmap filtering is a technique used to reduce the visual artifacts that occurs when a high resolution texture is rendered onto a small surface.

The system uses lower resolution textures (mipmaps) to better approximate the exact color.

  • Enum Constant Details

    • NoMipmapFiltering

      public static final MipmapFilteringType NoMipmapFiltering
      No mipmap filtering is applied.
    • NearestMipmapping

      public static final MipmapFilteringType NearestMipmapping
      Simplest filtering mode: only use the nearest fitted mipmap.
    • LinearMipmapping

      public static final MipmapFilteringType LinearMipmapping
      More advanced filtering mode: interpolate linearly between multiple level of mipmaps.
    • BasedOnData

      public static final MipmapFilteringType BasedOnData
      Do not override the filtering mode and use the mode specified in the data.

      If the data does not define any mode then no mipmap filtering will be assumed.

  • Method Details

    • values

      public static MipmapFilteringType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MipmapFilteringType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null