Contents

MTLStencilOperation.decrementWrap

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

Declaration

case decrementWrap

Discussion

The operation sets a stencil value to the maximum representable value if its currently equal to 0.

See Also

Stencil operations