Caps.ZCompareCaps Property (Microsoft.DirectX.Direct3D)
Retrieves a structure that contains the supported z-buffer comparison capabilities.
Definition
Visual Basic Public ReadOnly Property ZCompareCaps As ComparisonCaps C# public ComparisonCaps ZCompareCaps { get; } C++ public:
property ComparisonCaps ZCompareCaps {
ComparisonCaps get();
}JScript public function get ZCompareCaps() : ComparisonCaps
Property Value
Microsoft.DirectX.Direct3D.ComparisonCaps
A ComparisonCaps structure that contains the supported z-buffer comparison capabilities.This property is read-only.
Remarks
This member can be one or more of the following ComparisonCaps:
- SupportsAlways: Always pass the z-test.
- SupportsEqual: Pass the z-test if the new z equals the current z.
- SupportsGreater: Pass the z-test if the new z is greater than the current z.
- SupportsGreaterEqual: Pass the z-test if the new z is greater than or equal to the current z.
- SupportsLess: Pass the z-test if the new z is less than the current z.
- SupportsLessEqual: Pass the z-test if the new z is less than or equal to the current z.
- SupportsNever: Always fail the z-test.
- SupportsNotEqual: Pass the z-test if the new z does not equal the current z.