Package 

Enum MaterialInstance.StencilOperation

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum MaterialInstance.StencilOperation
    
                        

    Operations that control how the stencil buffer is updated.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      KEEP

      Keeps the current value.

      ZERO

      Sets the value to 0.

      REPLACE

      Sets the value to the stencil reference value.

      INCR_CLAMP

      Increments the current value. Clamps to the maximum representable unsigned value.

      INCR_WRAP

      Increments the current value. Wraps value to zero when incrementing the maximumrepresentable unsigned value.

      DECR_CLAMP

      Decrements the current value. Clamps to 0.

      DECR_WRAP

      Decrements the current value. Wraps value to the maximum representable unsigned valuewhen decrementing a value of zero.

      INVERT

      Bitwise inverts the current value.