render.SetStencilEnable
Example
A basic stencil operation that limits rendering to the centre of the screen.
Output:
Sets whether stencil tests are carried out for each rendered pixel.
Only pixels passing the stencil test are written to the render target.
A basic stencil operation that limits rendering to the centre of the screen.