Compare Enumeration
.NET Framework 2.0
Represents the supported compare functions in the RenderStateManager class type.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
| Member name | Description | |
|---|---|---|
![]() | Always | Always pass the test. |
![]() | Equal | Accept the new pixel if its value is 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. |
![]() | GreaterEqual | Accept the new pixel if its value is greater than or equal to the value of the current pixel. |
![]() | Less | Accept the new pixel if its value is less than 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. |
![]() | Never | Always fail the test. |
![]() | NotEqual | Accept 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.
Reference
Microsoft.WindowsMobile.DirectX.Direct3D NamespaceOther Resources
Mobile Direct3D ProgrammingCommunity Additions
ADD
Show:
