ID3D11Predicate interface (d3d11.h)
A predicate interface determines whether geometry should be processed depending on the results of a previous draw call.
Inheritance
The ID3D11Predicate interface inherits from the ID3D11Query interface.
Remarks
To create a predicate object, call ID3D11Device::CreatePredicate. To set the predicate object, call ID3D11DeviceContext::SetPredication.
There are two types of predicates: stream-output-overflow predicates and occlusion predicates. Stream-output-overflow predicates cause any geometry residing in stream-output buffers that were overflowed to not be processed. Occlusion predicates cause any geometry that did not have a single sample pass the depth/stencil tests to not be processed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | d3d11.h |