Enum Class HintValue

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

public enum HintValue extends Enum<HintValue>
Hint enum types for GL Hints.
Author:
Matthew Tropiano
  • Enum Constant Details

    • DONT_CARE

      public static final HintValue DONT_CARE
      Don't care about the quality.
    • FASTEST

      public static final HintValue FASTEST
      Use the best performing method.
    • NICEST

      public static final HintValue NICEST
      Use the best quality method.
  • Field Details

    • glValue

      public final int glValue
  • Method Details

    • values

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