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 CONSTANT
Texture environment constant color.PREVIOUS
Result of previous texture combiner.PRIMARY_COLOR
Primary color of the incoming fragment.TEXTURE
Texture color of the current texture unit.TEXTURE0
Texture color of texture unit 0.TEXTURE1
Texture color of texture unit 1.TEXTURE2
Texture color of texture unit 2.TEXTURE3
Texture color of texture unit 3.TEXTURE4
Texture color of texture unit 4.TEXTURE5
Texture color of texture unit 5.TEXTURE6
Texture color of texture unit 6.TEXTURE7
Texture color of texture unit 7.
-
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 SoTextureCombiner.SourceParameters
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoTextureCombiner.SourceParameters
valueOf(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 theconstantColor
field 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:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-