Caps.ZCompareCaps Property |
Language: |
Retrieves a structure that contains the supported z-buffer comparison capabilities.
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
Microsoft.DirectX.Direct3D.ComparisonCaps
This property is read-only.
A ComparisonCaps structure that contains the supported z-buffer comparison capabilities.
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.
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