public static enum RenderState.StencilOperation extends java.lang.Enum<RenderState.StencilOperation>
StencilOperation specifies the stencil operation to use
 in a certain scenario as specified in RenderState.setStencil(boolean,
 com.jme3.material.RenderState.StencilOperation,
 com.jme3.material.RenderState.StencilOperation,
 com.jme3.material.RenderState.StencilOperation,
 com.jme3.material.RenderState.StencilOperation,
 com.jme3.material.RenderState.StencilOperation,
 com.jme3.material.RenderState.StencilOperation,
 com.jme3.material.RenderState.TestFunction,
 com.jme3.material.RenderState.TestFunction)| Enum Constant and Description | 
|---|
| DecrementDecrement the value in the stencil buffer and clamp once reaching 0. | 
| DecrementWrapDecrement the value in the stencil buffer and wrap to the maximum
 value when reaching 0. | 
| IncrementIncrement the value in the stencil buffer, clamp once reaching
 the maximum value. | 
| IncrementWrapIncrement the value in the stencil buffer and wrap to 0 when
 reaching the maximum value. | 
| InvertDoes a bitwise invert of the value in the stencil buffer. | 
| KeepKeep the current value. | 
| ReplaceReplace the value in the stencil buffer with the reference value. | 
| ZeroSet the value to 0 | 
| Modifier and Type | Method and Description | 
|---|---|
| static RenderState.StencilOperation | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static RenderState.StencilOperation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final RenderState.StencilOperation Keep
public static final RenderState.StencilOperation Zero
public static final RenderState.StencilOperation Replace
public static final RenderState.StencilOperation Increment
public static final RenderState.StencilOperation IncrementWrap
public static final RenderState.StencilOperation Decrement
public static final RenderState.StencilOperation DecrementWrap
public static final RenderState.StencilOperation Invert
public static RenderState.StencilOperation[] values()
for (RenderState.StencilOperation c : RenderState.StencilOperation.values()) System.out.println(c);
public static RenderState.StencilOperation 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