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

# D3D12_SHADER_CACHE_KIND_FLAGS (XBOX Series consoles)

> Defines constants that specify a kind of shader cache.

Defines constants that specify a kind of shader cache.

## Syntax

```cpp theme={null}
typedef enum D3D12_SHADER_CACHE_KIND_FLAGS
{
    D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CACHE_FOR_DRIVER = 1,
    D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CONVERSIONS = 2,
    D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED = 4,
    D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 8
} D3D12_SHADER_CACHE_KIND_FLAGS
```

## Constants

| Constant                                                            | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| D3D12\_SHADER\_CACHE\_KIND\_FLAG\_IMPLICIT\_D3D\_CACHE\_FOR\_DRIVER | Specifies a cache that's managed by Direct3D 12 to store driver compilations of application shaders.                                                                                                                                                                                                                                                                                                                                                                      |
| D3D12\_SHADER\_CACHE\_KIND\_FLAG\_IMPLICIT\_D3D\_CONVERSIONS        | Specifies a cache that's used to store Direct3D 12's conversions of one shader type to another (for example, DXBC shaders to DXIL shaders).                                                                                                                                                                                                                                                                                                                               |
| D3D12\_SHADER\_CACHE\_KIND\_FLAG\_IMPLICIT\_DRIVER\_MANAGED         | Specifies a cache that's managed by the driver. Operations for this cache are hints.                                                                                                                                                                                                                                                                                                                                                                                      |
| D3D12\_SHADER\_CACHE\_KIND\_FLAG\_APPLICATION\_MANAGED              | Specifies all shader cache sessions created by the [ID3D12Device9::CreateShaderCacheSession](/reference/graphics/d3d12/interfaces/id3d12device9/methods/id3d12device9_createshadercachesession_public) method. Requests to **CLEAR** with this flag apply to all currently active application cache sessions, as well as on-disk caches created without [D3D12\_SHADER\_CACHE\_FLAG\_USE\_WORKING\_DIR](/reference/graphics/d3d12/enums/d3d12_shader_cache_flags_public). |

## Remarks

## Requirements

**Header:** d3d12\_xs.h<br />**Library:** d3d12\_xs.lib<br />**Supported Platforms**: XBOX Series consoles

## See Also

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


## Related topics

- [D3D12_SHADER_CACHE_CONTROL_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_shader_cache_control_flags_public.md)
- [D3D12_SHADER_CACHE_FLAGS](/reference/graphics/d3d12/enums/d3d12_shader_cache_flags_public.md)
- [D3D12_SHADER_CACHE_SUPPORT_FLAGS](/reference/graphics/d3d12/enums/d3d12_shader_cache_support_flags_public.md)
- [D3D12_RAYTRACING_GEOMETRY_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_geometry_flags_public.md)
- [D3D12_RAYTRACING_PIPELINE_FLAGS (XBOX Series consoles)](/reference/graphics/d3d12/enums/d3d12_raytracing_pipeline_flags_public.md)
