Enum Class LogicFunc

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

public enum LogicFunc extends Enum<LogicFunc>
Reusable logical enumerations.
Author:
Matthew Tropiano
  • Enum Constant Details

    • ALWAYS

      public static final LogicFunc ALWAYS
      Always.
    • NEVER

      public static final LogicFunc NEVER
      Never.
    • EQUAL

      public static final LogicFunc EQUAL
    • NOT_EQUAL

      public static final LogicFunc NOT_EQUAL
    • LESS

      public static final LogicFunc LESS
    • GREATER

      public static final LogicFunc GREATER
    • LESS_OR_EQUAL

      public static final LogicFunc LESS_OR_EQUAL
    • GREATER_OR_EQUAL

      public static final LogicFunc GREATER_OR_EQUAL
  • Field Details

    • glValue

      public final int glValue
  • Method Details

    • values

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