None
View sourceRepresents no face culling in engine configuration (0).
Enum
Selects which polygon faces WebGL should cull.
Pass Front, Back, or Both to
WebGLRenderingContext#cullFace after enabling face
culling on the context. None represents disabled face culling in engine
configuration; disable the WebGL cull-face capability separately when
applying that choice.
import { CullFace } from '@wimaengine/render-webgl'
gl.enable(gl.CULL_FACE)
gl.cullFace(CullFace.Back)Represents no face culling in engine configuration (0).
Culls front-facing polygons (0x0404).
Culls back-facing polygons (0x0405).
Culls both front-facing and back-facing polygons (0x0408).