STATIC SUB ClearStencil ( Value AS Integer )
Gl.ClearStencil specifies the index used by Gl.Clear to clear the stencil buffer. Value is masked with 2 m - 1, where m is the number of bits in the stencil buffer.
Gl.GL_INVALID_OPERATION is generated if Gl.ClearStencil is called between a call to Gl.Begin and the corresponding call to Gl.End.
Gl.GetStencilClearValue
Gl.GetStencilBits