D3D12_SHADER_CACHE_KIND_FLAGS enumeration (d3d12.h)

Defines constants that specify a kind of shader cache.

Syntax

typedef enum D3D12_SHADER_CACHE_KIND_FLAGS {
  D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CACHE_FOR_DRIVER,
  D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CONVERSIONS,
  D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED,
  D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED
} ;

Constants

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

Requirements

   
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h

See also