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

# ID3D12GraphicsCommandList2 (XBOX One 系列)

> 封裝用於轉譯的圖形命令清單，並擴充介面以支援將立即值直接寫入緩衝區。

封裝用於轉譯的圖形命令清單，並擴充介面以支援將立即值直接寫入緩衝區。

## 語法

```cpp theme={null}
class ID3D12GraphicsCommandList2 : public ID3D12GraphicsCommandList1  
```

## 方法

| 方法 | 描述 |
| - | - |
| [ID3D12GraphicsCommandList2::ResetX](/zh-TW/reference/graphics/d3d12_x/interfaces/ID3D12GraphicsCommandList2/methods/id3d12graphicscommandlist2_resetx) | 將命令清單重設回初始狀態，如同剛建立新的命令清單一樣。 |

## 需求

**標頭:** d3d12\_x.h\
**支援的平台**: XBOX One 系列

## 另請參閱

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


## Related topics

- [ID3D12GraphicsCommandList3](/es/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist3/id3d12graphicscommandlist3_public.md)
- [D3D12_WRITEBUFFERIMMEDIATE_PARAMETER](/reference/graphics/d3d12/structs/d3d12_writebufferimmediate_parameter_public.md)
- [WriteBufferImmediate](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist2/methods/id3d12graphicscommandlist2_writebufferimmediate_public.md)
