ID3D11DeviceContextX::InsertWaitOnMemory Method

Inserts a wait on memory, dependent on a 32-bit value.

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 32-bit 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.

Remarks

This method inserts a wait on memory, dependent on a 32-bit value. 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.

Requirements

Header: Declared in d3d11_x.h.

Library: Use d3d11_x.lib.

See also

Reference

ID3D11DeviceContextX::InsertWaitOnMemory64

ID3D11DeviceContextX::WriteValueEndOfPipe

ID3D11DeviceContextX::GpuSendPipelinedEvent

ID3D11DeviceContextX::FlushGpuCacheRange

ID3D11DeviceContextX Interface

ID3D11DeviceContextX Members