> ## 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.

# D3D12XBOX_SYNC_PARAMS (XBOX Series 主機)

> 各種 API 中使用的 GPU 同步處理參數

用於下列 API 的 GPU 同步處理參數：[Signal2X](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12CommandQueue/methods/id3d12commandqueue_signal2x)、[WaitX](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12CommandQueue/methods/id3d12commandqueue_waitx) 和 [ResourceBarrierX](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12GraphicsCommandList6/methods/id3d12graphicscommandlist6_resourcebarrierx)

## 語法

```cpp theme={null}
typedef struct D3D12XBOX_SYNC_PARAMS {  
    D3D12XBOX_SYNC_FLAGS SyncFlags;  
    D3D12XBOX_SYNC_CONTROL_FLAGS ControlFlags;  
    D3D12_GPU_VIRTUAL_ADDRESS BaseAddress;  
    SIZE_T SizeInBytes;  
} D3D12XBOX_SYNC_PARAMS  
```

### 成員

*SyncFlags*\
類型：[D3D12XBOX\_SYNC\_FLAGS](/zh-TW/reference/graphics/d3d12_xs/enums/d3d12xbox_sync_flags)

指出此同步處理應以哪個層級的快取和 GPU 區塊為目標。

*ControlFlags*\
類型：[D3D12XBOX\_SYNC\_CONTROL\_FLAGS](/zh-TW/reference/graphics/d3d12_xs/enums/d3d12xbox_sync_control_flags)

指出此同步處理應在哪個 (些) 命令處理器引擎上執行。

*BaseAddress*\
類型：D3D12\_GPU\_VIRTUAL\_ADDRESS

要從 GPU L2 使其失效的基底虛擬位址 (若有要求)。

*SizeInBytes*\
類型：SIZE\_T

從基底位址開始，要從 GPU L2 使其失效的位元組數 (若有要求)。

## 備註

如需 XBOX 上 GPU 同步處理的詳細說明，請參閱 ATG 同步處理白皮書。

## 需求

**標頭：** d3d12\_xs.h\
**支援的平台**：XBOX Series 主機

## 另請參閱

[d3d12\_xs](/zh-TW/reference/graphics/d3d12_xs/d3d12_xs_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [NDA 토픽 디렉터리 - Microsoft Learn 라이브 링크](/ko/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)
- [Diretório de tópicos NDA: links ativos do Microsoft Learn](/pt-BR/nda/nda-topic-directory.md)
