Compartir a través de


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)

Syntax

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

Members

  Member name Description
Supported by the .NET Compact Framework Always Always pass the test. 
Supported by the .NET Compact Framework Equal Accept the new pixel if its value is equal to the value of the current pixel. 
Supported by the .NET Compact Framework Greater Accept the new pixel if its value is greater than the value of the current pixel. 
Supported by the .NET Compact Framework GreaterEqual Accept the new pixel if its value is greater than or equal to the value of the current pixel. 
Supported by the .NET Compact Framework Less Accept the new pixel if its value is less than the value of the current pixel. 
Supported by the .NET Compact Framework LessEqual Accept the new pixel if its value is less than or equal to the value of the current pixel. 
Supported by the .NET Compact Framework Never Always fail the test. 
Supported by the .NET Compact Framework NotEqual Accept the new pixel if its value does not equal the value of the current pixel. 

Remarks

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

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming