Enum StencilOperationType

Definition

Namespace:
Tizen.NUI
Assembly:
Tizen.NUI.dll

Enumeration for specifying the action to take when the stencil (or depth) test fails during stencil test.

C#
Copy
public enum StencilOperationType : int
Name Description
Decrement

Decrements the current stencil buffer value. Clamps to 0

DecrementWrap

Decrements the current stencil buffer value. Wraps stencil buffer value to the maximum representable unsigned value when decrementing a stencil buffer value of zero

Increment

Increments the current stencil buffer value. Clamps to the maximum representable unsigned value

IncrementWrap

Increments the current stencil buffer value. Wraps stencil buffer value to zero when incrementing the maximum representable unsigned value

Invert

Bitwise inverts the current stencil buffer value

Keep

Keeps the current value

Replace

Sets the stencil buffer value to ref, as specified by glStencilFunc

Zero

Sets the stencil buffer value to 0

Extension Methods