EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

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

 

 

Anzeigen:
© 2014 Microsoft