Garry's Mod Wiki

render.SetStencilFailOperation

  render.SetStencilFailOperation( STENCILOPERATION enum failOperation )

Description

Sets the Stencil Operation that will be performed on the Stencil Buffer values of pixels affected by draw operations if the Compare Function did not Pass the pixel.

For more detailed information on the Stencil system, including usage examples, see the Stencils Render Reference page

Arguments

1 STENCILOPERATION enum failOperation
The Stencil Operation to be performed if the Compare Function does not Pass a pixel.