Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

clearStencil method

Specifies the clear value to be used by the clear method to clear the stencil buffer.

IE11

 

Syntax

WebGLRenderingContext.clearStencil(s);

Parameters

s [in]

Type: number

A value in the range of 0 to 1 to clear the stencil buffer to. Default value is 0.

Return value

This method does not return a value.

Remarks

Specifies the index used by the clear method to clear the stencil buffer. s is masked with 2m - 1, where m is the number of bits in the stencil buffer.

See also

WebGLRenderingContext

 

 

Show:
© 2015 Microsoft