> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ID3D12XboxDmaCommandList::Wait64BitValueX (XBOX One 系列)

> ID3D12XboxDmaCommandList::Wait64BitValueX (XBOX One 系列主機) — 等候記憶體中指定來源位置的 64 位元值，以滿足比較條件。

等候記憶體中指定來源位置的 64 位元值，以滿足比較條件。

## 語法

```cpp theme={null}
void Wait64BitValueX(  
         D3D12_GPU_VIRTUAL_ADDRESS Address,  
         D3D12_COMPARISON_FUNC ComparisonFunction,  
         UINT64 ReferenceValue,  
         D3D12XBOX_WAIT_FLAGS Flags  
)  
```

### 參數

*Address*   \_In\_\
類型：[D3D12\_GPU\_VIRTUAL\_ADDRESS](https://learn.microsoft.com/en-us/windows/win32/direct3d12/d3d12_gpu_virtual_address)

包含等候評估值的圖形記憶體基底位址。此位址必須以 8 位元組對齊。

*ComparisonFunction*   \_In\_\
類型：[D3D12\_COMPARISON\_FUNC](https://learn.microsoft.com/en-us/windows/win32/api/d3d12/ne-d3d12-d3d12_comparison_func)

**D3D12\_COMPARISON\_FUNC** 列舉常數，指定作為等候條件基礎的函式。DMA 命令清單唯一支援的比較函式值為 **D3D12\_COMPARISON\_FUNC\_GREATER\_EQUAL**。

會使用此函式，以 *ReferenceValue* 測試 *Address* 記憶體位置的值。

*ReferenceValue*   \_In\_\
類型：UINT64

作為等候比較基礎的值。

*Flags*   \_In\_\
類型：[D3D12XBOX\_WAIT\_FLAGS](/zh-TW/reference/graphics/d3d12_x/enums/d3d12xbox_wait_flags)

選用。**D3D12XBOX\_WAIT\_FLAGS** 列舉常數的位元 OR 組合，指定用來執行等候的引擎。此值必須設定為 **D3D12XBOX\_WAIT\_FLAG\_NONE**。

### 傳回值

類型：void

## 備註

當 ((Value-at-*Address* & *MaskValue*) \<*ComparisonFunction*> *ReferenceValue*) 評估為 **true** 時，即滿足等候條件。

<Note>
  若未滿足等候條件，會導致 GPU 停止回應。請謹慎發出等候。
</Note>

## 需求

**標頭：** d3d12\_x.h

**程式庫：** d3d12\_x.lib

**支援的平台：** XBOX One 系列

## 另請參閱

[ID3D12XboxDmaCommandList](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12xboxdmacommandlist/id3d12xboxdmacommandlist)\
[Wait32BitValueX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_wait32bitvaluex)\
[Wait64BitValueX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12xboxdmacommandlist/methods/id3d12xboxdmacommandlist_wait64bitvaluex)\
[Write64BitValueBottomOfPipeX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12xboxdmacommandlist/methods/id3d12xboxdmacommandlist_write64bitvaluebottomofpipex)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
- [Répertoire des rubriques NDA : liens actifs vers Microsoft Learn](/fr-CA/nda/nda-topic-directory.md)
- [Directorio de temas NDA: enlaces activos a Microsoft Learn](/es/nda/nda-topic-directory.md)
