Skip to content

KBE3D / KBCore / Cesium / StencilFunction

枚举: StencilFunction

Determines the function used to compare stencil values for the stencil test.

枚举成员

NEVER

NEVER: 512

The stencil test never passes.


LESS

LESS: 513

The stencil test passes when the masked reference value is less than the masked stencil value.


EQUAL

EQUAL: 514

The stencil test passes when the masked reference value is equal to the masked stencil value.


LESS_OR_EQUAL

LESS_OR_EQUAL: 515

The stencil test passes when the masked reference value is less than or equal to the masked stencil value.


GREATER

GREATER: 516

The stencil test passes when the masked reference value is greater than the masked stencil value.


NOT_EQUAL

NOT_EQUAL: 517

The stencil test passes when the masked reference value is not equal to the masked stencil value.


GREATER_OR_EQUAL

GREATER_OR_EQUAL: 518

The stencil test passes when the masked reference value is greater than or equal to the masked stencil value.


ALWAYS

ALWAYS: 519

The stencil test always passes.

KBE3D @3.0.0 Copyright © 2024-present KBE3D