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

# ID3D12PipelineState::GetInformationX (XBOX Series 主機)

> 傳回著色器的額外資訊。

傳回著色器的額外資訊。

## 語法

```cpp theme={null}
HRESULT GetInformationX(  
         D3D12XBOX_PIPELINE_STATE_INFORMATION_TYPE info,  
         UINT64 extraOptions,  
         ID3DBlob **ppBlob  
)  
```

### 參數

*info*   \_In\_\
類型：[D3D12XBOX\_PIPELINE\_STATE\_INFORMATION\_TYPE](/zh-TW/reference/graphics/d3d12_xs/enums/d3d12xbox_pipeline_state_information_type)

要求的資訊類型。

*extraOptions*   \_In\_\
類型：UINT64

必須為 0。

\*\**ppBlob*   \_Out\_\
類型：ID3DBlob

傳回的 Blob，其資料配置取決於所要求的資料類型。

### 傳回值

類型：HRESULT

如果成功，則為 S\_OK，否則為錯誤。

## 備註

目前僅針對計算著色器實作。\
XDXR 目前使用此方法來擷取著色器所需的暫存空間量及其符號表。

## 需求

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

**程式庫：** d3d12\_xs.lib\
**支援的平台：** XBOX Series 主機

## 另請參閱

[ID3D12PipelineState](/zh-TW/reference/graphics/d3d12_xs/interfaces/ID3D12PipelineState/id3d12pipelinestate_xs)


## Related topics

- [NDA 主題目錄 - Microsoft Learn 線上連結](/zh-TW/nda/nda-topic-directory.md)
- [CreateComputePipelineState](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcomputepipelinestate_public.md)
- [CreateGraphicsPipelineState](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_creategraphicspipelinestate_public.md)
- [SetPipelineState](/reference/graphics/d3d12/interfaces/id3d12graphicscommandlist/methods/id3d12graphicscommandlist_setpipelinestate_public.md)
- [D3D12_CACHED_PIPELINE_STATE](/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public.md)
