ID3D11DeviceContext::GetPredication Method

Get the rendering predicate state.

Syntax

public:
void GetPredication(
         ID3D11Predicate **ppPredicate,
         BOOL *pPredicateValue
)  

Parameters

ppPredicate
Type: ID3D11Predicate **

[out, optional] Address of a pointer to a predicate (see ID3D11Predicate). Value stored here will be NULL upon device creation.

pPredicateValue
Type: BOOL *

[out, optional] Address of a boolean to fill with the predicate comparison value. FALSE upon device creation.

Return value

None.

Remarks

Any returned interfaces will have their reference count incremented by one. Applications should call IUnknown::Release on the returned interfaces when they are no longer needed to avoid memory leaks.

Requirements

Header: Declared in d3d11_x.h (d3d11.h on other Windows platforms).

Library: Use d3d11_x.lib (d3d11.lib on other Windows platforms).

See also

ID3D11DeviceContext

ID3D11DeviceContext Members