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

colorMask method

Lets you set whether individual colors can be written when drawing or rendering to a framebuffer.

IE11

 

Syntax

WebGLRenderingContext.colorMask(red, green, blue, alpha);

Parameters

The default value is true, all colors can be written to the framebuffer. false on any parameter disables that color from being written.

red [in]

Type: boolean

green [in]

Type: boolean

blue [in]

Type: boolean

alpha [in]

Type: boolean

Return value

This method does not return a value.

See also

WebGLRenderingContext

 

 

Anzeigen:
© 2014 Microsoft