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

> Retrieves the description used to create the cache session.

Retrieves the description used to create the cache session.

## Syntax

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

### Parameters

### Return value

Type: D3D12\_SHADER\_CACHE\_SESSION\_DESC

A [D3D12\_SHADER\_CACHE\_SESSION\_DESC](/reference/graphics/d3d12/structs/d3d12_shader_cache_session_desc_public) structure representing the description used to create the cache session.

## Remarks

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

* [D3D12 shader cache APIs](https://microsoft.github.io/DirectX-Specs/d3d/ShaderCache.html)


## Related topics

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