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

Compare Enumeration

Represents the supported compare functions in the RenderStateManager class type.

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

public enum Compare
public enum Compare
public enum Compare
 Member nameDescription
Supported by the .NET Compact FrameworkAlwaysAlways pass the test. 
Supported by the .NET Compact FrameworkEqualAccept the new pixel if its value is equal to the value of the current pixel. 
Supported by the .NET Compact FrameworkGreaterAccept the new pixel if its value is greater than the value of the current pixel. 
Supported by the .NET Compact FrameworkGreaterEqualAccept the new pixel if its value is greater than or equal to the value of the current pixel. 
Supported by the .NET Compact FrameworkLessAccept the new pixel if its value is less than the value of the current pixel. 
Supported by the .NET Compact FrameworkLessEqualAccept the new pixel if its value is less than or equal to the value of the current pixel. 
Supported by the .NET Compact FrameworkNeverAlways fail the test. 
Supported by the .NET Compact FrameworkNotEqualAccept the new pixel if its value does not equal the value of the current pixel. 

The StencilFunction, AlphaFunction, and ZBufferFunction properties use this enumeration.

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.