ID3D11DmaEngineContextX::InsertWaitOnMemory Method

Inserts a wait on memory. The command processor compares the value at the given memory location against a reference value using the supplied comparison function. Once the comparison succeeds, the command processor continues with execution.

Syntax

public:
void InsertWaitOnMemory(
         const void *pAddress,
         UINT Flags,
         D3D11_COMPARISON_FUNC ComparisonFunction,
         UINT ReferenceValue,
         UINT Mask
)  

Parameters

pAddress
Type: void *

[in] The address of a value in graphics memory.

Flags
Type: UINT 

[in] Flags to control this method, as a bitwise-OR’d combination of D3D11X_INSERT_WAIT_ON_MEMORY_FLAGS enumeration constants, such as “use PFP”.

ComparisonFunction
Type: D3D11_COMPARISON_FUNC 

[in] The comparison function, as a D3D11_COMPARISON_FUNC enumeration constant, such as less than or greater than.

ReferenceValue
Type: UINT 

[in] The command processor compares the value at the given memory location against this reference value.

Mask
Type: UINT 

[in] The mask that is applied to the value from memory using a bitwise-AND operator before performing the comparison with the reference value.

Return value

None.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DmaEngineContextX Interface

ID3D11DmaEngineContextX Members