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