-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable
public enum MaterialInstance.StencilOperationOperations that control how the stencil buffer is updated.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEEPKeeps the current value.
ZEROSets the value to 0.
REPLACESets the value to the stencil reference value.
INCR_CLAMPIncrements the current value. Clamps to the maximum representable unsigned value.
INCR_WRAPIncrements the current value. Wraps value to zero when incrementing the maximumrepresentable unsigned value.
DECR_CLAMPDecrements the current value. Clamps to 0.
DECR_WRAPDecrements the current value. Wraps value to the maximum representable unsigned valuewhen decrementing a value of zero.
INVERTBitwise inverts the current value.
-
Method Summary
Modifier and Type Method Description static Array<MaterialInstance.StencilOperation>values()static MaterialInstance.StencilOperationvalueOf(String name)-
-
Method Detail
-
values
static Array<MaterialInstance.StencilOperation> values()
-
valueOf
static MaterialInstance.StencilOperation valueOf(String name)
-
-
-
-