Package com.ardor3d.scenegraph.hint
Enum Class TextureCombineMode
- All Implemented Interfaces:
Serializable
,Comparable<TextureCombineMode>
,Constable
Describes how to combine textures from ancestor TextureStates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCombine textures starting from the given Spatial and working towards the root.Similar to CombineClosest, but if a disabled state is encountered, it will stop combining at that point.Combine textures starting from the root node and working towards the given Spatial.Inherit mode from parent.When updating render states, turn off texturing for this spatial.Do not combine textures, just use the most recent texture state. -
Method Summary
Modifier and TypeMethodDescriptionstatic TextureCombineMode
Returns the enum constant of this class with the specified name.static TextureCombineMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Off
When updating render states, turn off texturing for this spatial. -
CombineFirst
Combine textures starting from the root node and working towards the given Spatial. Ignore disabled states. -
CombineClosest
Combine textures starting from the given Spatial and working towards the root. Ignore disabled states. (Default) -
CombineClosestEnabled
Similar to CombineClosest, but if a disabled state is encountered, it will stop combining at that point. -
Inherit
Inherit mode from parent. -
Replace
Do not combine textures, just use the most recent texture state.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-