Lens Scripting API

    Enumeration StencilOperation

    Options for specifying the action to take when stencil and depth tests resolve.

    Index

    Enumeration Members

    DecrementClamp: number

    Decrements the current stencil buffer value. Clamps to 0.

    DecrementWrap: number

    Decrements the current stencil buffer value. Wraps stencil buffer value to the maximum representable unsigned value when decrementing a stencil buffer value of zero.

    IncrementClamp: number

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

    IncrementWrap: number

    Increments the current stencil buffer value. Wraps stencil buffer value to zero when incrementing the maximum representable unsigned value.

    Invert: number

    Bitwise inverts the current stencil buffer value.

    Keep: number

    Keep the current value.

    Replace: number

    Sets the stencil buffer value to "referenceValue" property of StencilState.

    Zero: number

    Set the stencil buffer value to 0.

    MMNEPVFCICPMFPCPTTAAATR