Skip to content

KBE3D / KBCore / Cesium / StencilOperation

枚举: StencilOperation

Determines the action taken based on the result of the stencil test.

枚举成员

ZERO

ZERO: 0

Sets the stencil buffer value to zero.


KEEP

KEEP: 7680

Does not change the stencil buffer.


REPLACE

REPLACE: 7681

Replaces the stencil buffer value with the reference value.


INCREMENT

INCREMENT: 7682

Increments the stencil buffer value, clamping to unsigned byte.


DECREMENT

DECREMENT: 7683

Decrements the stencil buffer value, clamping to zero.


INVERT

INVERT: 5386

Bitwise inverts the existing stencil buffer value.


INCREMENT_WRAP

INCREMENT_WRAP: 34055

Increments the stencil buffer value, wrapping to zero when exceeding the unsigned byte range.


DECREMENT_WRAP

DECREMENT_WRAP: 34056

Decrements the stencil buffer value, wrapping to the maximum unsigned byte instead of going below zero.

KBE3D @3.0.0 Copyright © 2024-present KBE3D