StencilOperation Enumeration

Defines the supported stencil operations.

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

Syntax

'Declaration
Public Enumeration StencilOperation
'Usage
Dim instance As StencilOperation
public enum StencilOperation
public enum class StencilOperation
public enum StencilOperation
public enum StencilOperation

Members

  Member name Description
Supported by the .NET Compact Framework Decrement Decrements the stencil buffer entry, wrapping to the maximum value if the new value is less than 0. 
Supported by the .NET Compact Framework DecrementSaturation Decrements the stencil buffer entry, clamping to 0. 
Supported by the .NET Compact Framework Increment Increments the stencil buffer entry, wrapping to 0 if the new value exceeds the maximum value. 
Supported by the .NET Compact Framework IncrementSaturation Increments the stencil buffer entry, clamping to the maximum value. 
Supported by the .NET Compact Framework Invert Inverts the bits in the stencil buffer entry. 
Supported by the .NET Compact Framework Keep Does not update the stencil buffer entry. This is the default value. 
Supported by the .NET Compact Framework Replace Replaces the stencil buffer entry with a reference value. 
Supported by the .NET Compact Framework Zero Sets the stencil buffer entry to 0. 

Remarks

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

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming