com.jme.scene.state
Enum BlendState.TestFunction

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

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


Enum Constant Summary
Always
          Always passes the depth test.
EqualTo
          Pass the test if this alpha is equal to the reference alpha.
GreaterThan
          Pass the test if this alpha is less than the reference alpha.
GreaterThanOrEqualTo
          Pass the test if this alpha is less than or equal to the reference alpha.
LessThan
          Pass the test if this alpha is less than the reference alpha.
LessThanOrEqualTo
          Pass the test if this alpha is less than or equal to the reference alpha.
Never
          Never passes the depth test.
NotEqualTo
          Pass the test if this alpha is not equal to the reference alpha.
 
Method Summary
static BlendState.TestFunction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BlendState.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 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 less than the reference alpha.


GreaterThanOrEqualTo

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

Method Detail

values

public static BlendState.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 (BlendState.TestFunction c : BlendState.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 BlendState.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