> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_FEATURE_DATA_SHADER_CACHE

> Describes the level of shader caching supported in the current graphics driver. (D3D12_FEATURE_DATA_SHADER_CACHE)

Describes the level of shader caching supported in the current graphics driver.

## Syntax

```cpp theme={null}
typedef struct D3D12_FEATURE_DATA_SHADER_CACHE
{
    D3D12_SHADER_CACHE_SUPPORT_FLAGS SupportFlags;
} D3D12_FEATURE_DATA_SHADER_CACHE
```

### Members

*SupportFlags*\
Type: D3D12\_SHADER\_CACHE\_SUPPORT\_FLAGS

[SAL](https://learn.microsoft.com/en-us/visualstudio/code-quality/annotating-structs-and-classes): `Out`

Indicates the level of caching supported.

## Remarks

Use this structure with [CheckFeatureSupport](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_checkfeaturesupport_public.md) to determine the level of support offered for the optional shader-caching features.

See the enumeration constant D3D12\_FEATURE\_SHADER\_CACHE in the [D3D12\_FEATURE](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_feature_public.md) enumeration.

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

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)

[D3D12\_FEATURE](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_feature_public.md)


## Related topics

- [CreatePipelineLibrary](https://docs.xbox.com/reference/graphics/d3d12/interfaces/id3d12device1/methods/id3d12device1_createpipelinelibrary_public.md)
- [D3D12_FEATURE](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_feature_public.md)
- [D3D12_SHADER_CACHE_SUPPORT_FLAGS](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_shader_cache_support_flags_public.md)
- [D3D12_SHADER_CACHE_CONTROL_FLAGS (XBOX Series consoles)](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_shader_cache_control_flags_public.md)
- [D3D12_SHADER_CACHE_FLAGS](https://docs.xbox.com/reference/graphics/d3d12/enums/d3d12_shader_cache_flags_public.md)
