Enum Class TextureMinFilter

java.lang.Object
java.lang.Enum<TextureMinFilter>
com.blackrook.gloop.opengl.enums.TextureMinFilter
All Implemented Interfaces:
Serializable, Comparable<TextureMinFilter>, java.lang.constant.Constable

public enum TextureMinFilter extends Enum<TextureMinFilter>
Minification filters.
Author:
Matthew Tropiano
  • Enum Constant Details

    • NEAREST

      public static final TextureMinFilter NEAREST
      Nearest minification - color using nearest neighbor (aliased - bad approximation).
    • LINEAR

      public static final TextureMinFilter LINEAR
      Linear minification - color using cluster average (okay approximation).
    • BILINEAR

      public static final TextureMinFilter BILINEAR
      Bilinear minification - color using cluster average and next mipmap's nearest neighbor (better approximation).
    • TRILINEAR

      public static final TextureMinFilter TRILINEAR
      Trilinear minification - color using cluster average and next mipmap's cluster average (best approximation). Also called "bicubic" or "cubic."
  • Field Details

    • glid

      public final int glid
  • Method Details

    • values

      public static TextureMinFilter[] 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 TextureMinFilter 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