Gl.ClearStencil (gb.opengl)

Static Sub ClearStencil ( Value As Integer )

Specify the clear value for the stencil buffer.

Parameters

s

Specifies the index used when the stencil buffer is cleared. The initial value is 0.

Description

Gl.ClearStencil specifies the index used by Gl.Clear to clear the stencil buffer. s is masked with 2 m - 1 , where m is the number of bits in the stencil buffer.

Associated Gets

Gl.Get with argument Gl.STENCIL_CLEAR_VALUE

Gl.Get with argument Gl.STENCIL_BITS

See also

Gl.StencilFuncSeparate, Gl.StencilMaskSeparate, Gl.StencilOp, Gl.StencilOpSeparate

See original documentation on OpenGL website