Package com.mojang.blaze3d.platform
Enum GlStateManager.DstFactor
- All Implemented Interfaces:
Serializable
,Comparable<GlStateManager.DstFactor>
,java.lang.constant.Constable
- Enclosing class:
- GlStateManager
@Environment(CLIENT) public static enum GlStateManager.DstFactor extends Enum<GlStateManager.DstFactor>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTANT_ALPHA
CONSTANT_COLOR
DST_ALPHA
DST_COLOR
ONE
ONE_MINUS_CONSTANT_ALPHA
ONE_MINUS_CONSTANT_COLOR
ONE_MINUS_DST_ALPHA
ONE_MINUS_DST_COLOR
ONE_MINUS_SRC_ALPHA
ONE_MINUS_SRC_COLOR
SRC_ALPHA
SRC_COLOR
ZERO
-
Field Summary
Fields Modifier and Type Field Description int
field_22528
-
Constructor Summary
Constructors Modifier Constructor Description private
DstFactor(int int2)
-
Method Summary
Modifier and Type Method Description static GlStateManager.DstFactor
valueOf(String name)
Returns the enum constant of this type with the specified name.static GlStateManager.DstFactor[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CONSTANT_ALPHA
-
CONSTANT_COLOR
-
DST_ALPHA
-
DST_COLOR
-
ONE
-
ONE_MINUS_CONSTANT_ALPHA
-
ONE_MINUS_CONSTANT_COLOR
-
ONE_MINUS_DST_ALPHA
-
ONE_MINUS_DST_COLOR
-
ONE_MINUS_SRC_ALPHA
-
ONE_MINUS_SRC_COLOR
-
SRC_ALPHA
-
SRC_COLOR
-
ZERO
-
-
Field Details
-
field_22528
public final int field_22528
-
-
Constructor Details
-
DstFactor
private DstFactor(int int2)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-