com.jme.scene.state
Enum ZBufferState.TestFunction

java.lang.Object
  extended by java.lang.Enum<ZBufferState.TestFunction>
      extended by com.jme.scene.state.ZBufferState.TestFunction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ZBufferState.TestFunction>
Enclosing class:
ZBufferState

public static enum ZBufferState.TestFunction
extends java.lang.Enum<ZBufferState.TestFunction>


Enum Constant Summary
Always
          Depth comparison always passes.
EqualTo
          Passes if the incoming value is the same as the stored value.
GreaterThan
          Passes if the incoming value is greater than the stored value.
GreaterThanOrEqualTo
          Passes if the incoming value is greater than or equal to the stored value.
LessThan
          Passes if the incoming value is less than the stored value.
LessThanOrEqualTo
          Passes if the incoming value is less than or equal to the stored value.
Never
          Depth comparison never passes.
NotEqualTo
          Passes if the incoming value is not equal to the stored value.
 
Method Summary
static ZBufferState.TestFunction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ZBufferState.TestFunction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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 Detail

values

public static ZBufferState.TestFunction[] 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 (ZBufferState.TestFunction c : ZBufferState.TestFunction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ZBufferState.TestFunction 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 name
java.lang.NullPointerException - if the argument is null