ComparisonCaps Structure
|
Language: |
Retrieves comparison capabilities.
Definition
Visual Basic |
Public Structure ComparisonCaps |
C# |
public struct ComparisonCaps |
C++ |
public value class ComparisonCaps sealed |
JScript |
In JScript, 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.900.0,
Culture=neutral,
PublicKeyToken=d3231b57b74a1492 |
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center