Enum Class BlendState.TestFunction

java.lang.Object
java.lang.Enum<BlendState.TestFunction>
com.ardor3d.renderer.state.BlendState.TestFunction
All Implemented Interfaces:
Serializable, Comparable<BlendState.TestFunction>, Constable
Enclosing class:
BlendState

public static enum BlendState.TestFunction extends Enum<BlendState.TestFunction>
  • Enum Constant Details

    • Never

      public static final BlendState.TestFunction Never
      Never passes the depth test.
    • Always

      public static final BlendState.TestFunction Always
      Always passes the depth test.
    • EqualTo

      public static final BlendState.TestFunction EqualTo
      Pass the test if this alpha is equal to the reference alpha.
    • NotEqualTo

      public static final BlendState.TestFunction NotEqualTo
      Pass the test if this alpha is not equal to the reference alpha.
    • LessThan

      public static final BlendState.TestFunction LessThan
      Pass the test if this alpha is less than the reference alpha.
    • LessThanOrEqualTo

      public static final BlendState.TestFunction LessThanOrEqualTo
      Pass the test if this alpha is less than or equal to the reference alpha.
    • GreaterThan

      public static final BlendState.TestFunction GreaterThan
      Pass the test if this alpha is greater than the reference alpha.
    • GreaterThanOrEqualTo

      public static final BlendState.TestFunction GreaterThanOrEqualTo
      Pass the test if this alpha is greater than or equal to the reference alpha.
  • Method Details

    • values

      public static BlendState.TestFunction[] 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 BlendState.TestFunction 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