MSDN Library

StencilOperation Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines the supported stencil operations.

Namespace:  Microsoft.WindowsMobile.DirectX.Direct3D
Assembly:  Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)

public enum StencilOperation

Member nameDescription
Supported by the .NET Compact FrameworkKeepDoes not update the stencil buffer entry. This is the default value.
Supported by the .NET Compact FrameworkZeroSets the stencil buffer entry to 0.
Supported by the .NET Compact FrameworkReplaceReplaces the stencil buffer entry with a reference value.
Supported by the .NET Compact FrameworkIncrementSaturationIncrements the stencil buffer entry, clamping to the maximum value.
Supported by the .NET Compact FrameworkDecrementSaturationDecrements the stencil buffer entry, clamping to 0.
Supported by the .NET Compact FrameworkInvertInverts the bits in the stencil buffer entry.
Supported by the .NET Compact FrameworkIncrementIncrements the stencil buffer entry, wrapping to 0 if the new value exceeds the maximum value.
Supported by the .NET Compact FrameworkDecrementDecrements the stencil buffer entry, wrapping to the maximum value if the new value is less than 0.

Stencil buffer entries are integer values that range from 0 to 2n - 1, where n is the bit depth of the stencil buffer.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0
Show:
© 2016 Microsoft