Contents

depthStencilPassOperation

The operation that is performed to update the values in the stencil attachment when both the stencil test and the depth test pass.

Declaration

var depthStencilPassOperation: MTLStencilOperation { get set }

Discussion

The default value is MTLStencilOperation.keep, which does not change the current stencil value. For more information on possible values, see MTLStencilOperation.

See Also

Related Documentation

Configuring stencil functions and operations