Table of Contents

Enum StencilOperation

Namespace
NeoVeldrid
Assembly
NeoVeldrid.dll

Identifies an action taken on samples that pass or fail the stencil test.

public enum StencilOperation : byte

Fields

DecrementAndClamp = 4

Decrements the existing value and clamps it to 0.

DecrementAndWrap = 7

Decrements the existing value and wraps it to the maximum representable unsigned value if it would be reduced below 0.

IncrementAndClamp = 3

Increments the existing value and clamps it to the maximum representable unsigned value.

IncrementAndWrap = 6

Increments the existing value and wraps it to 0 when it exceeds the maximum representable unsigned value.

Invert = 5

Bitwise-inverts the existing value.

Keep = 0

Keep the existing value.

Replace = 2

Replaces the existing value with StencilReference.

Zero = 1

Sets the value to 0.