Package com.mojang.blaze3d.platform
Enum GlStateManager.LogicOp
- java.lang.Object
-
- java.lang.Enum<GlStateManager.LogicOp>
-
- com.mojang.blaze3d.platform.GlStateManager.LogicOp
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GlStateManager.LogicOp>
- Enclosing class:
- GlStateManager
public static enum GlStateManager.LogicOp extends java.lang.Enum<GlStateManager.LogicOp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AND
AND_INVERTED
AND_REVERSE
CLEAR
COPY
COPY_INVERTED
EQUIV
INVERT
NAND
NOOP
NOR
OR
OR_INVERTED
OR_REVERSE
SET
XOR
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
LogicOp(int p_i50860_3_)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlStateManager.LogicOp
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GlStateManager.LogicOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AND
public static final GlStateManager.LogicOp AND
-
AND_INVERTED
public static final GlStateManager.LogicOp AND_INVERTED
-
AND_REVERSE
public static final GlStateManager.LogicOp AND_REVERSE
-
CLEAR
public static final GlStateManager.LogicOp CLEAR
-
COPY
public static final GlStateManager.LogicOp COPY
-
COPY_INVERTED
public static final GlStateManager.LogicOp COPY_INVERTED
-
EQUIV
public static final GlStateManager.LogicOp EQUIV
-
INVERT
public static final GlStateManager.LogicOp INVERT
-
NAND
public static final GlStateManager.LogicOp NAND
-
NOOP
public static final GlStateManager.LogicOp NOOP
-
NOR
public static final GlStateManager.LogicOp NOR
-
OR
public static final GlStateManager.LogicOp OR
-
OR_INVERTED
public static final GlStateManager.LogicOp OR_INVERTED
-
OR_REVERSE
public static final GlStateManager.LogicOp OR_REVERSE
-
SET
public static final GlStateManager.LogicOp SET
-
XOR
public static final GlStateManager.LogicOp XOR
-
-
Method Detail
-
values
public static GlStateManager.LogicOp[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GlStateManager.LogicOp c : GlStateManager.LogicOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlStateManager.LogicOp valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-