Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

StencilOperation Enumeration

Defines the supported stencil operations.

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

public enum StencilOperation
public enum StencilOperation
public enum StencilOperation
 Member nameDescription
Supported by the .NET Compact FrameworkDecrementDecrements the stencil buffer entry, wrapping to the maximum value if the new value is less than 0. 
Supported by the .NET Compact FrameworkDecrementSaturationDecrements the stencil buffer entry, clamping to 0. 
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 FrameworkIncrementSaturationIncrements the stencil buffer entry, clamping to the maximum value. 
Supported by the .NET Compact FrameworkInvertInverts the bits in the stencil buffer entry. 
Supported by the .NET Compact FrameworkKeepDoes not update the stencil buffer entry. This is the default value. 
Supported by the .NET Compact FrameworkReplaceReplaces the stencil buffer entry with a reference value. 
Supported by the .NET Compact FrameworkZeroSets the stencil buffer entry to 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 Pocket PC, Windows Mobile for Smartphone

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

.NET Compact Framework

Supported in: 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.