Expand Minimize

cullFace method

Sets whether or not front, back, or both facing facets are able to be culled.

IE11

 

Syntax

WebGLRenderingContext.cullFace(mode);

Parameters

mode [in]

Type: Number

Sets which facets are candidates for culling.

gl.FRONT
gl.BACK
gl.FRONT_AND_BACK

Return value

This method does not return a value.

Remarks

Culling is turned off by default. To turn culling on or off, call enable or disable with the gl.CULL_FACE argument.

See also

WebGLRenderingContext

 

 

Show:
© 2014 Microsoft