ID3D11Device::CreatePredicate Method
Creates a predicate.
Syntax
HRESULT CreatePredicate(
[in] const D3D11_QUERY_DESC *pPredicateDesc,
[out] ID3D11Predicate **ppPredicate
);
Parameter
pPredicateDesc [in]
Typ: 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]
Typ: ID3D11Predicate**Address of a pointer to a predicate (see ID3D11Predicate).
Rückgabewert
Typ: HRESULT
This method returns one of the following Direct3D 11 Return Codes.
Anforderungen
Header |
D3D11.h |
Bibliothek |
D3D11.lib |