ComparisonCaps Structure
|
Language: |
Note: This documentation is preliminary and is subject to change.
Retrieves comparison capabilities.
Definition
Visual Basic .NET |
Public Structure ComparisonCaps |
C# |
public struct ComparisonCaps |
Managed C++ |
public __value struct ComparisonCaps |
JScript .NET |
In JScript .NET, you can use structures, but you cannot define your own. |
Members Table
The following table lists the members exposed by the object. Click a tab on the left to choose the type of member you want to view.
Methods
Method |
Description |
ToString
|
Obtains a string representation of the current instance. |
Properties
Property |
Description |
SupportsAlways
|
Retrieves a value that indicates whether always passing the comparison test is supported. |
SupportsEqual
|
Retrieves a value that indicates whether comparison tests in which the new value equals the current value are supported. |
SupportsGreater
|
Retrieves a value that indicates whether comparison tests in which the new value is greater than the current value are supported. |
SupportsGreaterEqual
|
Retrieves a value that indicates whether comparison tests in which the new value is greater than or equal to the current value are supported. |
SupportsLess
|
Retrieves a value that indicates whether comparison tests in which the new value is less than the current value are supported. |
SupportsLessEqual
|
Retrieves a value that indicates whether comparison tests in which the new value is less than or equal to the current value are supported. |
SupportsNever
|
Retrieves a value that indicates whether never passing the comparison test is supported. |
SupportsNotEqual
|
Retrieves a value that indicates whether comparison tests in which the new value does not equal the current value are supported. |
Remarks
Comparison capabilities are used in Caps.ZCompareCaps and Caps.AlphaCompareCaps to indicate the supported comparison operations.
Structure Information
Namespace |
Microsoft.DirectX.Direct3D |
Assembly |
Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) |
Strong Name |
Microsoft.DirectX.Direct3D,
Version=1.0.2902.0,
Culture=neutral,
PublicKeyToken=31bf3856ad364e35 |
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center