clearStencil method

void clearStencil(
  1. GLint s
)

The WebGLRenderingContext.clearStencil() method of the WebGL API specifies the clear value for the stencil buffer.

This specifies what stencil value to use when calling the WebGLRenderingContext.clear method.

Implementation

external void clearStencil(GLint s);