Table of Contents

Enum RenderingDevice.StencilOperation

Namespace
Godot
Assembly
GodotSharp.dll
public enum RenderingDevice.StencilOperation : long

Fields

DecrementAndClamp = 4

Decrement the existing stencil value and clamp to the minimum value if reached. Stencil bits are considered as an unsigned integer.

DecrementAndWrap = 7

Decrement the stencil value and wrap around to the maximum representable unsigned if reaching the minimum. Stencil bits are considered as an unsigned integer.

IncrementAndClamp = 3

Increment the existing stencil value and clamp to the maximum representable unsigned value if reached. Stencil bits are considered as an unsigned integer.

IncrementAndWrap = 6

Increment the stencil value and wrap around to 0 if reaching the maximum representable unsigned. Stencil bits are considered as an unsigned integer.

Invert = 5

Bitwise-invert the existing stencil value.

Keep = 0

Keep the current stencil value.

Max = 8

Represents the size of the RenderingDevice.StencilOperation enum.

Replace = 2

Replace the existing stencil value with the new one.

Zero = 1

Set the stencil value to 0.