public enum StencilAction extends java.lang.Enum<StencilAction>
| Enum Constant and Description |
|---|
DECREMENT
Increments the current stencil buffer value, clamps to 0.
|
DECREMENT_WRAP
Decrements the current stencil buffer value and wrap it to maximum value when it reaches zero.
|
INCREMENT
Increments the current stencil buffer value, clamps to maximum value.
|
INCREMENT_WRAP
Increments the current stencil buffer value and wrap it to zero when it reaches maximum value.
|
INVERT
Bit-wise inverts the current stencil buffer value.
|
KEEP
Keep the current value
|
REPLACE
Sets the stencil buffer to ref where defined in
RenderState.getStencilReference() |
ZERO
Sets the stencil buffer value to 0
|
| Modifier and Type | Method and Description |
|---|---|
static StencilAction |
valueOf(java.lang.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.
|
public static final StencilAction KEEP
public static final StencilAction ZERO
public static final StencilAction REPLACE
RenderState.getStencilReference()public static final StencilAction INCREMENT
public static final StencilAction INCREMENT_WRAP
public static final StencilAction DECREMENT
public static final StencilAction DECREMENT_WRAP
public static final StencilAction INVERT
public static StencilAction[] values()
for (StencilAction c : StencilAction.values()) System.out.println(c);
public static StencilAction 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