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

# GetCachedBlob

> 取得代表管線狀態的快取 Blob。

取得代表管線狀態的快取 Blob。

## 語法

```cpp theme={null}
HRESULT GetCachedBlob(
    ID3DBlob  ppBlob
)
```

### 參數

*ppBlob \[out]*\
類型：ID3DBlob \*\*

此方法傳回後，會指向代表管線狀態的快取 Blob。

### 傳回值

類型：HRESULT

此方法會傳回其中一個 [Direct3D 12 傳回碼](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/d3d12-graphics-reference-returnvalues)。

## 備註

請參閱 [D3D12\_CACHED\_PIPELINE\_STATE](/zh-TW/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public) 的備註。

## 需求

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

## 另請參閱

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


## Related topics

- [D3D12_CACHED_PIPELINE_STATE](/zh-TW/reference/graphics/d3d12/structs/d3d12_cached_pipeline_state_public.md)
- [XtfGetCachedTitleOSVersions](/zh-TW/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m.md)
- [D3D12_COMPUTE_PIPELINE_STATE_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_compute_pipeline_state_desc_public.md)
- [XtfGetCachedTitleOSVersionsCallback](/zh-TW/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversionscallback-xtfapi-xbox-windows-m.md)
- [XblTitleStorageGetBlobMetadataAsync](/zh-TW/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetblobmetadataasync.md)
