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

# SetPredicationBufferX (XBOX One 系列)

> 為圖形命令清單設定述詞緩衝區。

為圖形命令清單設定述詞緩衝區。

## 語法

```cpp theme={null}
void SetPredicationBufferX(  
         const D3D12XBOX_PREDICATION_BUFFER_VIEW* pDesc  
)  
```

### 參數

*pDesc*   \_In\_opt\_\
類型：[D3D12XBOX\_PREDICATION\_BUFFER\_VIEW\*](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_predication_buffer_view)

指向 **D3D12XBOX\_PREDICATION\_BUFFER\_VIEW** 結構的指標，該結構會設定記憶體位置和位移。

### 傳回值

類型：void

## 需求

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

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

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

## 另請參閱

[ID3D12GraphicsCommandList](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/id3d12graphicscommandlist)\
[AdvancePredicationX](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_advancepredicationx)


## Related topics

- [SetPredication](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setpredication_public.md)
- [D3D12_PREDICATION_OP](/zh-TW/reference/graphics/d3d12/enums/d3d12_predication_op_public.md)
- [IASetIndexBuffer](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_iasetindexbuffer_public.md)
- [IASetVertexBuffers](/zh-TW/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_iasetvertexbuffers_public.md)
- [SetShapePcmBufferLength](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmbufferlength.md)
