setStencilOpDepthStencilPass
fun setStencilOpDepthStencilPass(op: MaterialInstance.StencilOperation, face: MaterialInstance.StencilFace = StencilFace.FRONT_AND_BACK)
Sets the depth-stencil pass operation (default is KEEP).
The depth-stencil pass operation is performed to update values in the stencil buffer when both the stencil test and depth test pass.
Parameters
op
Operation to apply
face
Which face(s) this applies to