|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StencilComparisonOperator>
com.neovisionaries.android.opengl.StencilComparisonOperator
public enum StencilComparisonOperator
Comparison operator used for the stencil test.
StencilComparator
,
glStencilFunc,
glStencilFuncSeparateEnum Constant Summary | |
---|---|
ALWAYS
GL_ALWAYS. |
|
EQUAL
GL_EQUAL. |
|
GEQUAL
GL_GEQUAL. |
|
GREATER
GL_GREATER. |
|
LEQUAL
GL_LEQUAL. |
|
LESS
GL_LESS. |
|
NEVER
GL_NEVER. |
|
NOTEQUAL
GL_NOTEQUAL. |
Method Summary | |
---|---|
int |
getOperator()
Get the integer representing this comparison operator. |
static StencilComparisonOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StencilComparisonOperator[] |
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 StencilComparisonOperator EQUAL
public static final StencilComparisonOperator NOTEQUAL
public static final StencilComparisonOperator LESS
public static final StencilComparisonOperator GREATER
public static final StencilComparisonOperator LEQUAL
public static final StencilComparisonOperator GEQUAL
public static final StencilComparisonOperator ALWAYS
public static final StencilComparisonOperator NEVER
Method Detail |
---|
public static StencilComparisonOperator[] values()
for (StencilComparisonOperator c : StencilComparisonOperator.values()) System.out.println(c);
public static StencilComparisonOperator valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getOperator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |