Enum Class GLLogicOp

java.lang.Object
java.lang.Enum<GLLogicOp>
dev.pfaff.glass.opengl.enums.GLLogicOp
All Implemented Interfaces:
GLEnum, Serializable, Comparable<GLLogicOp>, Constable

public enum GLLogicOp extends Enum<GLLogicOp> implements GLEnum
  • Enum Constant Details

    • CLEAR

      public static final GLLogicOp CLEAR
    • AND

      public static final GLLogicOp AND
    • AND_REVERSE

      public static final GLLogicOp AND_REVERSE
    • COPY

      public static final GLLogicOp COPY
    • AND_INVERTED

      public static final GLLogicOp AND_INVERTED
    • NOOP

      public static final GLLogicOp NOOP
    • XOR

      public static final GLLogicOp XOR
    • OR

      public static final GLLogicOp OR
    • NOR

      public static final GLLogicOp NOR
    • EQUIV

      public static final GLLogicOp EQUIV
    • INVERT

      public static final GLLogicOp INVERT
    • OR_REVERSE

      public static final GLLogicOp OR_REVERSE
    • COPY_INVERTED

      public static final GLLogicOp COPY_INVERTED
    • OR_INVERTED

      public static final GLLogicOp OR_INVERTED
    • NAND

      public static final GLLogicOp NAND
    • SET

      public static final GLLogicOp SET
  • Field Details

  • Method Details

    • values

      public static GLLogicOp[] 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 GLLogicOp 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
    • glEnum

      public int glEnum()
      Specified by:
      glEnum in interface GLEnum
    • fromGLEnum

      public static GLLogicOp fromGLEnum(int glEnum)
      Returns the enum constant corresponding to the provided raw value.
      Throws:
      IllegalArgumentException - if the provided raw value does not exist in this enum group.