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

# ID3D12MetaCommand

> 代表中繼命令。中繼命令是 Direct3D 12 物件，代表由獨立硬體廠商 (IHV) 加速的演算法。

代表中繼命令。中繼命令是 Direct3D 12 物件，代表由獨立硬體廠商 (IHV) 加速的演算法。它是對驅動程式所實作之命令產生器的不透明參考。

中繼命令的存留期與參考它的命令清單的存留期相關聯。因此，只有在目前沒有任何參考該中繼命令的命令清單正在 GPU 上執行時，才應該釋放該中繼命令。

中繼命令可以封裝一組管線狀態物件 (PSO)、繫結、中繼資源狀態，以及 Draw/Dispatch 呼叫。您可以將中繼命令的簽章視為類似 C 樣式函式，具有多個輸入/輸出參數，且沒有傳回值。

## 需求

**標頭:** d3d12\_xs.h 或 d3d12\_x.h\
**程式庫:** d3d12\_xs.lib 或 d3d12\_x.lib\
**支援的平台**: XBOX Series 主機和 XBOX One 系列

## 另請參閱

[ID3D12Pageable](/zh-TW/reference/graphics/d3d12/interfaces/id3d12pageable/id3d12pageable_public)


## Related topics

- [InitializeMetaCommand (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist4/methods/id3d12graphicscommandlist4_initializemetacommand_public.md)
- [GetRequiredParameterResourceSize](/zh-TW/reference/graphics/d3d12/interfaces/id3d12metacommand/methods/id3d12metacommand_getrequiredparameterresourcesize_public.md)
- [CreateMetaCommand (XBOX Series 主機)](/zh-TW/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_createmetacommand_public.md)
- [D3D12_META_COMMAND_PARAMETER_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_meta_command_parameter_desc_public.md)
- [D3D12_META_COMMAND_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_meta_command_desc_public.md)
