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.

ID3D11Device::CreatePredicate method

Creates a predicate.

Syntax


HRESULT CreatePredicate(
  [in]            const D3D11_QUERY_DESC *pPredicateDesc,
  [out, optional]       ID3D11Predicate  **ppPredicate
);

Parameters

pPredicateDesc [in]

Type: const D3D11_QUERY_DESC*

Pointer to a query description where the type of query must be a D3D11_QUERY_SO_OVERFLOW_PREDICATE or D3D11_QUERY_OCCLUSION_PREDICATE (see D3D11_QUERY_DESC).

ppPredicate [out, optional]

Type: ID3D11Predicate**

Address of a pointer to a predicate (see ID3D11Predicate).

Return value

Type: HRESULT

This method returns one of the following Direct3D 11 Return Codes.

Requirements

Header

D3D11.h

Library

D3D11.lib

See also

ID3D11Device

 

 

Show:
© 2017 Microsoft