EN
此内容没有您的语言版本,但有英语版本。

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

 

 

显示:
© 2014 Microsoft