public static enum RenderState.TestFunction extends java.lang.Enum<RenderState.TestFunction>
TestFunction specifies the testing function for stencil test
 function.
 The reference value given in the stencil command is the input value while the reference is the value already in the stencil buffer.
| Enum Constant and Description | 
|---|
| AlwaysThe test always passes | 
| EqualThe test succeeds if the input value is equal to the reference value. | 
| GreaterThe test succeeds if the input value is greater than the reference value. | 
| GreaterOrEqualThe test succeeds if the input value is greater than or equal to
 the reference value. | 
| LessThe test succeeds if the input value is less than the reference value. | 
| LessOrEqualThe test succeeds if the input value is less than or equal to
 the reference value. | 
| NeverThe test always fails | 
| NotEqualThe test succeeds if the input value does not equal the
 reference value. | 
| Modifier and Type | Method and Description | 
|---|---|
| static RenderState.TestFunction | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static RenderState.TestFunction[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RenderState.TestFunction Never
public static final RenderState.TestFunction Equal
public static final RenderState.TestFunction Less
public static final RenderState.TestFunction LessOrEqual
public static final RenderState.TestFunction Greater
public static final RenderState.TestFunction GreaterOrEqual
public static final RenderState.TestFunction NotEqual
public static final RenderState.TestFunction Always
public static RenderState.TestFunction[] values()
for (RenderState.TestFunction c : RenderState.TestFunction.values()) System.out.println(c);
public static RenderState.TestFunction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null