Package com.openinventor.inventor.nodes
Enum SoTextureCombiner.SourceParameters
- java.lang.Object
-
- java.lang.Enum<SoTextureCombiner.SourceParameters>
-
- com.openinventor.inventor.nodes.SoTextureCombiner.SourceParameters
-
- All Implemented Interfaces:
IntegerValuedEnum,java.io.Serializable,java.lang.Comparable<SoTextureCombiner.SourceParameters>
- Enclosing class:
- SoTextureCombiner
public static enum SoTextureCombiner.SourceParameters extends java.lang.Enum<SoTextureCombiner.SourceParameters> implements IntegerValuedEnum
Source Parameter enumeration values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTANTTexture environment constant color.PREVIOUSResult of previous texture combiner.PRIMARY_COLORPrimary color of the incoming fragment.TEXTURETexture color of the current texture unit.TEXTURE0Texture color of texture unit 0.TEXTURE1Texture color of texture unit 1.TEXTURE2Texture color of texture unit 2.TEXTURE3Texture color of texture unit 3.TEXTURE4Texture color of texture unit 4.TEXTURE5Texture color of texture unit 5.TEXTURE6Texture color of texture unit 6.TEXTURE7Texture color of texture unit 7.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()Returns the integer value of the enum constant.static SoTextureCombiner.SourceParametersvalueOf(int val)Returns the enum constant of this type with the specified integer valuestatic SoTextureCombiner.SourceParametersvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SoTextureCombiner.SourceParameters[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONSTANT
public static final SoTextureCombiner.SourceParameters CONSTANT
Texture environment constant color.
Use theconstantColorfield to specify the color.
-
PRIMARY_COLOR
public static final SoTextureCombiner.SourceParameters PRIMARY_COLOR
Primary color of the incoming fragment.
-
PREVIOUS
public static final SoTextureCombiner.SourceParameters PREVIOUS
Result of previous texture combiner.
On texture unit 0, corresponds to PRIMARY_COLOR.
-
TEXTURE
public static final SoTextureCombiner.SourceParameters TEXTURE
Texture color of the current texture unit.
-
TEXTURE0
public static final SoTextureCombiner.SourceParameters TEXTURE0
Texture color of texture unit 0.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE1
public static final SoTextureCombiner.SourceParameters TEXTURE1
Texture color of texture unit 1.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE2
public static final SoTextureCombiner.SourceParameters TEXTURE2
Texture color of texture unit 2.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE3
public static final SoTextureCombiner.SourceParameters TEXTURE3
Texture color of texture unit 3.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE4
public static final SoTextureCombiner.SourceParameters TEXTURE4
Texture color of texture unit 4.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE5
public static final SoTextureCombiner.SourceParameters TEXTURE5
Texture color of texture unit 5.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE6
public static final SoTextureCombiner.SourceParameters TEXTURE6
Texture color of texture unit 6.
Requires GL_ARB_texture_env_crossbar.
-
TEXTURE7
public static final SoTextureCombiner.SourceParameters TEXTURE7
Texture color of texture unit 7.
Requires GL_ARB_texture_env_crossbar.
-
-
Method Detail
-
values
public static SoTextureCombiner.SourceParameters[] 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 (SoTextureCombiner.SourceParameters c : SoTextureCombiner.SourceParameters.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoTextureCombiner.SourceParameters 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 SoTextureCombiner.SourceParameters 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:IntegerValuedEnumReturns the integer value of the enum constant.- Specified by:
getValuein interfaceIntegerValuedEnum- Returns:
- the integer value of the enum constant.
-
-