|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TestFunction>
org.jagatoo.opengl.enums.TestFunction
public enum TestFunction
Insert type comment here.
| Enum Constant Summary | |
|---|---|
ALWAYS
Indicates pixels are always drawn irrespective of the alpha value. |
|
EQUAL
Indicates pixels are drawn if the pixel alpha value is equal to the alpha test value. |
|
GREATER
Indicates pixels are drawn if the pixel alpha value is greater than the alpha test value. |
|
GREATER_OR_EQUAL
Indicates pixels are drawn if the pixel alpha value is greater than or equal to the alpha test value. |
|
LESS
Indicates pixels are drawn if the pixel alpha value is less than the alpha test value. |
|
LESS_OR_EQUAL
Indicates pixels are drawn if the pixel alpha value is less than or equal to the alpha test value. |
|
NEVER
Indicates pixels are never drawn irrespective of the alpha value. |
|
NOT_EQUAL
Indicates pixels are drawn if the pixel alpha value is not equal to the alpha test value. |
|
| Method Summary | |
|---|---|
int |
toOpenGL()
|
static TestFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static 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 TestFunction ALWAYS
public static final TestFunction NEVER
public static final TestFunction EQUAL
public static final TestFunction NOT_EQUAL
public static final TestFunction LESS
public static final TestFunction LESS_OR_EQUAL
public static final TestFunction GREATER
public static final TestFunction GREATER_OR_EQUAL
| Method Detail |
|---|
public static TestFunction[] values()
for (TestFunction c : TestFunction.values()) System.out.println(c);
public static 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 nullpublic final int toOpenGL()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||