Table of Contents

Enum StencilOperationValue

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

What happens to a stencil value on a test outcome (mirrors MonoGame's StencilOperation ordinals).

public enum StencilOperationValue

Fields

Decrement = 4

Decrement the stencil value, wrapping on underflow.

DecrementSaturation = 6

Decrement the stencil value, clamping at zero.

Increment = 3

Increment the stencil value, wrapping on overflow.

IncrementSaturation = 5

Increment the stencil value, clamping at the maximum.

Invert = 7

Bitwise-invert the stencil value.

Keep = 0

Keep the existing stencil value.

Replace = 2

Replace the stencil value with the reference value.

Zero = 1

Set the stencil value to zero.