Enum SoBlendElement.BlendFactors
- java.lang.Object
-
- java.lang.Enum<SoBlendElement.BlendFactors>
-
- com.openinventor.inventor.elements.SoBlendElement.BlendFactors
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoBlendElement.BlendFactors>
- Enclosing class:
- SoBlendElement
public static enum SoBlendElement.BlendFactors extends java.lang.Enum<SoBlendElement.BlendFactors> implements IntegerValuedEnum
BlendFactor as defined by OpenGL's glBlendFunc.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoBlendElement.BlendFactors
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoBlendElement.BlendFactors
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoBlendElement.BlendFactors[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZERO
public static final SoBlendElement.BlendFactors ZERO
-
ONE
public static final SoBlendElement.BlendFactors ONE
-
SRC_COLOR
public static final SoBlendElement.BlendFactors SRC_COLOR
-
ONE_MINUS_SRC_COLOR
public static final SoBlendElement.BlendFactors ONE_MINUS_SRC_COLOR
-
DST_COLOR
public static final SoBlendElement.BlendFactors DST_COLOR
-
ONE_MINUS_DST_COLOR
public static final SoBlendElement.BlendFactors ONE_MINUS_DST_COLOR
-
SRC_ALPHA
public static final SoBlendElement.BlendFactors SRC_ALPHA
-
ONE_MINUS_SRC_ALPHA
public static final SoBlendElement.BlendFactors ONE_MINUS_SRC_ALPHA
-
DST_ALPHA
public static final SoBlendElement.BlendFactors DST_ALPHA
-
ONE_MINUS_DST_ALPHA
public static final SoBlendElement.BlendFactors ONE_MINUS_DST_ALPHA
-
CONSTANT_COLOR
public static final SoBlendElement.BlendFactors CONSTANT_COLOR
-
ONE_MINUS_CONSTANT_COLOR
public static final SoBlendElement.BlendFactors ONE_MINUS_CONSTANT_COLOR
-
CONSTANT_ALPHA
public static final SoBlendElement.BlendFactors CONSTANT_ALPHA
-
ONE_MINUS_CONSTANT_ALPHA
public static final SoBlendElement.BlendFactors ONE_MINUS_CONSTANT_ALPHA
-
SRC_ALPHA_SATURATE
public static final SoBlendElement.BlendFactors SRC_ALPHA_SATURATE
-
SRC1_COLOR
public static final SoBlendElement.BlendFactors SRC1_COLOR
-
ONE_MINUS_SRC1_COLOR
public static final SoBlendElement.BlendFactors ONE_MINUS_SRC1_COLOR
-
SRC1_ALPHA
public static final SoBlendElement.BlendFactors SRC1_ALPHA
-
ONE_MINUS_SRC1_ALPHA
public static final SoBlendElement.BlendFactors ONE_MINUS_SRC1_ALPHA
-
-
Method Detail
-
values
public static SoBlendElement.BlendFactors[] 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 (SoBlendElement.BlendFactors c : SoBlendElement.BlendFactors.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoBlendElement.BlendFactors 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
-
valueOf
public static SoBlendElement.BlendFactors valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-