ComparisonCaps Structure (Microsoft.DirectX.Direct3D)

Retrieves comparison capabilities.

Definition

Visual BasicPublic Structure ComparisonCaps
C#public struct ComparisonCaps 
C++public value class ComparisonCaps sealed 
JScriptIn JScript, you can use structures, but you cannot define your own.

Members Table

The following table lists the members exposed by the object.

Methods

MethodDescription
ToString Obtains a string representation of the current instance.

Properties

PropertyDescription
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

NamespaceMicrosoft.DirectX.Direct3D
AssemblyMicrosoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong NameMicrosoft.DirectX.Direct3D,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492
Show: