EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

 

 

Afficher:
© 2014 Microsoft