|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<RenderState.TestFunction>
com.jme3.material.RenderState.TestFunction
public static enum RenderState.TestFunction
TestFunction
specifies the testing function for stencil test
function and alpha test function.
The functions work similarly as described except that 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 Summary | |
---|---|
Always
The test always passes |
|
Equal
The test succeeds if the input value is equal to the reference value. |
|
Greater
The test succeeds if the input value is greater than the reference value. |
|
GreaterOrEqual
The test succeeds if the input value is greater than or equal to the reference value. |
|
Less
The test succeeds if the input value is less than the reference value. |
|
LessOrEqual
The test succeeds if the input value is less than or equal to the reference value. |
|
Never
The test always fails |
|
NotEqual
The test succeeds if the input value does not equal the reference value. |
Method Summary | |
---|---|
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. |
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 |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |