Enum Class DebugType

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

public enum DebugType extends Enum<DebugType>
Enumeration of Debug types for debug messages.
  • Enum Constant Details

    • MARKER

      public static final DebugType MARKER
    • DEPRECATED_BEHAVIOR

      public static final DebugType DEPRECATED_BEHAVIOR
    • UNDEFINED_BEHAVIOR

      public static final DebugType UNDEFINED_BEHAVIOR
    • PUSH_GROUP

      public static final DebugType PUSH_GROUP
    • POP_GROUP

      public static final DebugType POP_GROUP
    • PERFORMANCE

      public static final DebugType PERFORMANCE
    • PORTABILITY

      public static final DebugType PORTABILITY
    • OTHER

      public static final DebugType OTHER
    • ERROR

      public static final DebugType ERROR
  • Field Details

    • glValue

      public final int glValue
  • Method Details

    • values

      public static DebugType[] 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 DebugType 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
    • getByGLValue

      public static DebugType getByGLValue(int glValue)
      Gets an enum by its corresponding GL value.
      Parameters:
      glValue - the GL value to use.
      Returns:
      the enum value, or null for no corresponding value.