> ## 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_WRITE_VALUE_TOP_FLAGS (XBOX One 系列)

> 控制 GPU 時間戳記回寫至管線頂端的旗標。

控制 GPU 時間戳記回寫至管線頂端的旗標。

## 語法

```cpp theme={null}
typedef enum D3D12XBOX_WRITE_VALUE_TOP_FLAGS  : UINT  
{  
    D3D12XBOX_WRITE_VALUE_TOP_FLAG_NONE = 0x0,  
    D3D12XBOX_WRITE_VALUE_TOP_FLAG_WAIT_FOR_WRITE_CONFIRM = 0x1,  
    D3D12XBOX_WRITE_VALUE_TOP_FLAG_SELECT_ENGINE_PFP = 0x2,  
    D3D12XBOX_WRITE_VALUE_TOP_FLAG_GPU_TIMESTAMP = 0x4,  
    D3D12XBOX_WRITE_VALUE_TOP_FLAG_SYSTEM_TIMESTAMP = 0x8,  
} D3D12XBOX_WRITE_VALUE_TOP_FLAGS  
```

## 常數

| 常數 | 描述 |
| - | - |
| D3D12XBOX\_WRITE\_VALUE\_TOP\_FLAG\_NONE | 無旗標。 |
| D3D12XBOX\_WRITE\_VALUE\_TOP\_FLAG\_WAIT\_FOR\_WRITE\_CONFIRM | 在寫入值之前，等候確認未完成的記憶體寫入已完成。 |
| D3D12XBOX\_WRITE\_VALUE\_TOP\_FLAG\_SELECT\_ENGINE\_PFP | 從預先擷取剖析器引擎寫入值，這會比預設引擎更早寫入值。 |
| D3D12XBOX\_WRITE\_VALUE\_TOP\_FLAG\_GPU\_TIMESTAMP | 要求 64 位元 GPU 時間戳記回寫。只有在傳遞給 [Write64BitValueBottomOfPipeX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_write64bitvaluebottomofpipex) 時，此值才有效。 |
| D3D12XBOX\_WRITE\_VALUE\_TOP\_FLAG\_SYSTEM\_TIMESTAMP | 要求 64 位元系統時間戳記回寫。只有在傳遞給 [Write64BitValueBottomOfPipeX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_write64bitvaluebottomofpipex) 時，此值才有效。 |

## 備註

下列函式使用此列舉：

* [Write32BitValueBottomOfPipeX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_write32bitvaluebottomofpipex)
* [Write64BitValueBottomOfPipeX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_write64bitvaluebottomofpipex)

## 需求

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

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

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [D3D12_RESIDENCY_FLAGS](/zh-TW/reference/graphics/d3d12/enums/d3d12_residency_flags_public.md)
- [D3D12_FENCE_FLAGS](/zh-TW/reference/graphics/d3d12/enums/d3d12_fence_flags_public.md)
- [D3D12_DRED_FLAGS](/zh-TW/reference/graphics/d3d12/enums/d3d12_dred_flags_public.md)
- [D3D12_DSV_FLAGS](/zh-TW/reference/graphics/d3d12/enums/d3d12_dsv_flags_public.md)
