Enum Class GlError

java.lang.Object
java.lang.Enum<GlError>
com.jozufozu.flywheel.backend.gl.error.GlError
All Implemented Interfaces:
Serializable, Comparable<GlError>, Constable

public enum GlError extends Enum<GlError>
  • Enum Constant Details

    • INVALID_ENUM

      public static final GlError INVALID_ENUM
    • INVALID_VALUE

      public static final GlError INVALID_VALUE
    • INVALID_OPERATION

      public static final GlError INVALID_OPERATION
    • INVALID_FRAMEBUFFER_OPERATION

      public static final GlError INVALID_FRAMEBUFFER_OPERATION
    • OUT_OF_MEMORY

      public static final GlError OUT_OF_MEMORY
    • STACK_UNDERFLOW

      public static final GlError STACK_UNDERFLOW
    • STACK_OVERFLOW

      public static final GlError STACK_OVERFLOW
  • Method Details

    • values

      public static GlError[] 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 GlError 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
    • poll

      public static GlError poll()
    • pollAndThrow

      public static void pollAndThrow(Supplier<String> context)