Contents

MTLStencilOperation.incrementWrap

A stencil operation that decreases a nonzero stencil value by one, or when it’s the maximum representable value, resets it to zero.

Declaration

case incrementWrap

Discussion

The operation sets a stencil value to 0 if it’s currently equal to the maximum representable value.

See Also

Stencil operations