Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D11Predicate interface

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

Members

The ID3D11Predicate interface inherits from ID3D11Query but does not have additional members.

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11Query
Core Interfaces

 

 

Show:
© 2016 Microsoft