Enum Class ZBufferState.TestFunction

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

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

    • Never

      public static final ZBufferState.TestFunction Never
      Depth comparison never passes.
    • Always

      public static final ZBufferState.TestFunction Always
      Depth comparison always passes.
    • EqualTo

      public static final ZBufferState.TestFunction EqualTo
      Passes if the incoming value is the same as the stored value.
    • NotEqualTo

      public static final ZBufferState.TestFunction NotEqualTo
      Passes if the incoming value is not equal to the stored value.
    • LessThan

      public static final ZBufferState.TestFunction LessThan
      Passes if the incoming value is less than the stored value.
    • LessThanOrEqualTo

      public static final ZBufferState.TestFunction LessThanOrEqualTo
      Passes if the incoming value is less than or equal to the stored value.
    • GreaterThan

      public static final ZBufferState.TestFunction GreaterThan
      Passes if the incoming value is greater than the stored value.
    • GreaterThanOrEqualTo

      public static final ZBufferState.TestFunction GreaterThanOrEqualTo
      Passes if the incoming value is greater than or equal to the stored value.
  • Method Details

    • values

      public static ZBufferState.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 ZBufferState.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