Enum TextureMinFilter

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

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

    Enum Constants
    Enum Constant
    Description
    Bilinear minification - color using cluster average and next mipmap's nearest neighbor (better approximation).
    Linear minification - color using cluster average (okay approximation).
    Nearest minification - color using nearest neighbor (aliased - bad approximation).
    Trilinear minification - color using cluster average and next mipmap's cluster average (best approximation).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TextureMinFilter valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null