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

# ID3D12ShaderCacheSession::GetDesc

> 擷取用來建立快取工作階段的描述。

擷取用來建立快取工作階段的描述。

## 語法

```cpp theme={null}
D3D12_SHADER_CACHE_SESSION_DESC GetDesc(
)
```

### 參數

### 傳回值

類型：D3D12\_SHADER\_CACHE\_SESSION\_DESC

[D3D12\_SHADER\_CACHE\_SESSION\_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_shader_cache_session_desc_public) 結構，代表用來建立快取工作階段的描述。

## 備註

## 需求

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

## 另請參閱

* [D3D12 著色器快取 API](https://microsoft.github.io/DirectX-Specs/d3d/ShaderCache.html)


## Related topics

- [ID3D12ShaderCacheSession](/zh-TW/reference/graphics/d3d12/interfaces/id3d12shadercachesession/id3d12shadercachesession_public.md)
- [D3D12_SHADER_CACHE_SESSION_DESC](/zh-TW/reference/graphics/d3d12/structs/d3d12_shader_cache_session_desc_public.md)
- [ID3D12ProtectedResourceSession::GetDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12protectedresourcesession/methods/id3d12protectedresourcesession_getdesc_public.md)
- [ID3D12Resource::GetDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12resource/methods/id3d12resource_getdesc_public.md)
- [ID3D12Heap::GetDesc](/zh-TW/reference/graphics/d3d12/interfaces/id3d12heap/methods/id3d12heap_getdesc_public.md)
