Package com.jme3.material
Enum Class RenderState.StencilOperation
- All Implemented Interfaces:
- Serializable,- Comparable<RenderState.StencilOperation>,- Constable
- Enclosing class:
- RenderState
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)- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDecrement the value in the stencil buffer and clamp once reaching 0.Decrement the value in the stencil buffer and wrap to the maximum value when reaching 0.Increment the value in the stencil buffer, clamp once reaching the maximum value.Increment the value in the stencil buffer and wrap to 0 when reaching the maximum value.Does a bitwise invert of the value in the stencil buffer.Keep the current value.Replace the value in the stencil buffer with the reference value.Set the value to 0
- 
Method SummaryModifier and TypeMethodDescriptionstatic RenderState.StencilOperationReturns the enum constant of this class with the specified name.static RenderState.StencilOperation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
KeepKeep the current value.
- 
ZeroSet the value to 0
- 
ReplaceReplace the value in the stencil buffer with the reference value.
- 
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.
- 
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.
- 
InvertDoes a bitwise invert of the value in the stencil buffer.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-