Compare Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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
type Compare
Members
Member name | Description | |
---|---|---|
Never | Always fail the test. | |
Less | Accept the new pixel if its value is less than the value of the current pixel. | |
Equal | Accept the new pixel if its value is equal to the value of the current pixel. | |
LessEqual | Accept the new pixel if its value is less than or equal to the value of the current pixel. | |
Greater | Accept the new pixel if its value is greater than the value of the current pixel. | |
NotEqual | Accept the new pixel if its value does not equal the value of the current pixel. | |
GreaterEqual | Accept the new pixel if its value is greater than or equal to the value of the current pixel. | |
Always | Always pass the test. |
Remarks
The StencilFunction, AlphaFunction, and ZBufferFunction properties use this enumeration.
Platforms
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.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0
See Also
Reference
Microsoft.WindowsMobile.DirectX.Direct3D Namespace