ID3D11Device::CreatePredicate method (d3d11.h)
Creates a predicate.
Syntax
HRESULT CreatePredicate(
[in] const D3D11_QUERY_DESC *pPredicateDesc,
[out, optional] ID3D11Predicate **ppPredicate
);
Parameters
[in] pPredicateDesc
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).
[out, optional] ppPredicate
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11.h |
Library | D3D11.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for