render.SetStencilPassOperation
Example
This uses the pass operation to blank out everything but what we just drew (from Lex's Stencil Tutorial).
Output:
Sets the operation to be performed on the stencil buffer values if the compare function was successful.
This uses the pass operation to blank out everything but what we just drew (from Lex's Stencil Tutorial).