EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

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

 

 

표시:
© 2014 Microsoft