Contents

MTLStencilOperation.incrementClamp

A stencil operation that increases a stencil value by one, but only when the current value isn’t the maximum representable value.

Declaration

case incrementClamp

Discussion

The operation doesn’t modify a stencil value if its currently the maximum representable value.

See Also

Stencil operations