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

polygonOffset method

Sets the implementation-specific units and scale factor used to calculate fragment depth values.

IE11

 

Syntax

WebGLRenderingContext.polygonOffset(factor, units);

Parameters

factor [in]

Type: Number

The scale factor. Initial value is 0.

units [in]

Type: Number

Number that's multiplied by an implementation-specific value to get a constant depth offset. Initial value is 0.

Return value

This method does not return a value.

See also

WebGLRenderingContext

 

 

표시:
© 2014 Microsoft