Depth
View sourceClears the depth buffer (0x00000100).
Enum
Provides the bit mask used by WebGLRenderingContext#clear.
Combine members with bitwise OR to clear more than one framebuffer value in the same call.
import { ClearBit } from '@wimaengine/render-webgl'
gl.clear(ClearBit.Color | ClearBit.Depth)Clears the depth buffer (0x00000100).
Clears the stencil buffer (0x00000400).
Clears the color buffer (0x00004000).