Never
View sourceNever passes the depth test (0x0200).
Enum
Selects the depth comparison used by WebGL’s depth test.
Pass a member to WebGLRenderingContext#depthFunc. The
comparison is made between the incoming fragment depth and the stored
depth value.
import { DepthFunc } from '@wimaengine/render-webgl'
gl.depthFunc(DepthFunc.Less)Never passes the depth test (0x0200).
Passes when the incoming depth is less than the stored depth (0x0201).
Passes when the incoming depth equals the stored depth (0x0202).
Passes when the incoming depth is less than or equal to the stored depth (0x0203).
Passes when the incoming depth is greater than the stored depth (0x0204).
Passes when the incoming depth differs from the stored depth (0x0205).
Passes when the incoming depth is greater than or equal to the stored depth (0x0206).
Always passes the depth test (0x0207).