What is the equivalent in metal of glClearStencil(AStencil)
? glClearStencil specifies the index used by glClear to clear the stencil buffer. s is masked with 2 m - 1 , where m is the number of bits in the stencil buffer.
The stencil value to use when the stencil render target is cleared. If the loadAction property of the render target is set to MTLLoadActionClear, then at the start of a render pass, the contents of the texture are filled with the value stored in the clearStencil property. Otherwise, clearStencil is ignored.
The default value is 0.