Skip to content

Latest commit

 

History

History
68 lines (56 loc) · 2.42 KB

nn-d3d11-id3d11predicate.md

File metadata and controls

68 lines (56 loc) · 2.42 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:d3d11.ID3D11Predicate
ID3D11Predicate (d3d11.h)
A predicate interface determines whether geometry should be processed depending on the results of a previous draw call. (ID3D11Predicate)
7bbde1c2-0bd3-3fda-2288-938ac2c04c3a
ID3D11Predicate
ID3D11Predicate interface [Direct3D 11]
ID3D11Predicate interface [Direct3D 11]
described
d3d11/ID3D11Predicate
direct3d11.id3d11predicate
direct3d11\id3d11predicate.htm
direct3d11
ad16e0ac-a5ff-41ae-9b73-e93235ef891b
12/05/2018
7bbde1c2-0bd3-3fda-2288-938ac2c04c3a, ID3D11Predicate, ID3D11Predicate interface [Direct3D 11], ID3D11Predicate interface [Direct3D 11],described, d3d11/ID3D11Predicate, direct3d11.id3d11predicate
d3d11.h
Windows
Windows 7 [desktop apps \| UWP apps]
Windows Server 2008 R2 [desktop apps \| UWP apps]
D3D11.lib
Windows
19H1
ID3D11Predicate
d3d11/ID3D11Predicate
c++
APIRef
kbSyntax
COM
D3D11.lib
D3D11.dll
ID3D11Predicate

ID3D11Predicate interface

-description

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

-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.

-see-also

Core Interfaces

ID3D11Query