Appearance
KBE3D / KBCore / Cesium / DepthFunction
枚举: DepthFunction
Determines the function used to compare two depths for the depth test.
枚举成员
NEVER
NEVER:
512
The depth test never passes.
LESS
LESS:
513
The depth test passes if the incoming depth is less than the stored depth.
EQUAL
EQUAL:
514
The depth test passes if the incoming depth is equal to the stored depth.
LESS_OR_EQUAL
LESS_OR_EQUAL:
515
The depth test passes if the incoming depth is less than or equal to the stored depth.
GREATER
GREATER:
516
The depth test passes if the incoming depth is greater than the stored depth.
NOT_EQUAL
NOT_EQUAL:
517
The depth test passes if the incoming depth is not equal to the stored depth.
GREATER_OR_EQUAL
GREATER_OR_EQUAL:
518
The depth test passes if the incoming depth is greater than or equal to the stored depth.
ALWAYS
ALWAYS:
519
The depth test always passes.
