|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StencilAction>
com.neovisionaries.android.opengl.StencilAction
public enum StencilAction
Stencil action taken according to the result of the stencil test and the depth test.
StencilActionSet
,
glStencilOp,
glStencilOpSeparateEnum Constant Summary | |
---|---|
DECR
GL_DECR. |
|
DECR_WRAP
GL_DECR_WRAP. |
|
INCR
GL_INCR. |
|
INCR_WRAP
GL_INCR_WRAP. |
|
INVERT
GL_INVERT. |
|
KEEP
GL_KEEP. |
|
REPLACE
GL_REPLACE. |
|
ZERO
GL_ZERO. |
Method Summary | |
---|---|
int |
getAction()
Get the integer representing this action. |
static StencilAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StencilAction[] |
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 StencilAction ZERO
public static final StencilAction REPLACE
public static final StencilAction INCR
public static final StencilAction DECR
public static final StencilAction INCR_WRAP
public static final StencilAction DECR_WRAP
public static final StencilAction KEEP
public static final StencilAction INVERT
Method Detail |
---|
public static StencilAction[] values()
for (StencilAction c : StencilAction.values()) System.out.println(c);
public static StencilAction 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 getAction()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |