Enum Class TextureCombineMode

java.lang.Object
java.lang.Enum<TextureCombineMode>
com.ardor3d.scenegraph.hint.TextureCombineMode
All Implemented Interfaces:
Serializable, Comparable<TextureCombineMode>, Constable

public enum TextureCombineMode extends Enum<TextureCombineMode>
Describes how to combine textures from ancestor TextureStates.
  • Enum Constant Details

    • Off

      public static final TextureCombineMode Off
      When updating render states, turn off texturing for this spatial.
    • CombineFirst

      public static final TextureCombineMode CombineFirst
      Combine textures starting from the root node and working towards the given Spatial. Ignore disabled states.
    • CombineClosest

      public static final TextureCombineMode CombineClosest
      Combine textures starting from the given Spatial and working towards the root. Ignore disabled states. (Default)
    • CombineClosestEnabled

      public static final TextureCombineMode CombineClosestEnabled
      Similar to CombineClosest, but if a disabled state is encountered, it will stop combining at that point.
    • Inherit

      public static final TextureCombineMode Inherit
      Inherit mode from parent.
    • Replace

      public static final TextureCombineMode Replace
      Do not combine textures, just use the most recent texture state.
  • Method Details

    • values

      public static TextureCombineMode[] 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

      public static TextureCombineMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null