ID3D11Predicate Interface

A predicate interface determines whether geometry should be processed depending on the results of a previous draw call.

Syntax

interface ID3D11Predicate : public ID3D11Query  

Remarks

This interface inherits from another interface but does not have additional members.

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

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).