ID3D10Device::CreatePredicate method
Creates a predicate.
Syntax
HRESULT CreatePredicate( [in] const D3D10_QUERY_DESC *pPredicateDesc, [out] ID3D10Predicate **ppPredicate );
Parameters
- pPredicateDesc [in]
-
Type: const D3D10_QUERY_DESC*
Pointer to a query description where the type of query must be a D3D10_QUERY_SO_OVERFLOW_PREDICATE or D3D10_QUERY_OCCLUSION_PREDICATE (see D3D10_QUERY_DESC).
- ppPredicate [out]
-
Type: ID3D10Predicate**
Address of a pointer to a predicate (see ID3D10Predicate Interface).
Return value
Type: HRESULT
This method returns one of the following Direct3D 10 Return Codes.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also
Show: