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

# FlushPipelineX (XBOX One 系列)

> 排清管線的指定區段。

排清管線的指定區段。

## 語法

```cpp theme={null}
void FlushPipelineX(  
         D3D12XBOX_FLUSH Flags,  
         D3D12_GPU_VIRTUAL_ADDRESS BaseAddress,  
         SIZE_T SizeInBytes  
)  
```

### 參數

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

**D3D12XBOX\_FLUSH** 旗標的位元 OR 組合，指定如何執行排清作業。

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

要排清之管線區段的基底位址。如果此值為 **null**，則會排清整個管線。

*SizeInBytes*   \_In\_\
類型：SIZE\_T

*BaseAddress* 參數所指向之管線區段的大小 (以位元組為單位)。

### 傳回值

類型：void

## 需求

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

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

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

## 另請參閱

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)\
[D3D12GetFlushFromResourceBarrierActionsX](/zh-TW/reference/graphics/d3d12_x/functions/d3d12getflushfromresourcebarrieractionsx)


## Related topics

- [StorePipeline](/zh-CN/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/methods/id3d12pipelinelibrary_storepipeline_public.md)
- [LoadPipeline](/zh-CN/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary1/methods/id3d12pipelinelibrary1_loadpipeline_public.md)
- [SetPipelineState](/zh-CN/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setpipelinestate_public.md)
- [LoadComputePipeline](/zh-CN/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/methods/id3d12pipelinelibrary_loadcomputepipeline_public.md)
- [LoadGraphicsPipeline](/zh-CN/reference/graphics/d3d12/interfaces/id3d12pipelinelibrary/methods/id3d12pipelinelibrary_loadgraphicspipeline_public.md)
