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 = 0x1,
  D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CONVERSIONS = 0x2,
  D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_DRIVER_MANAGED = 0x4,
  D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED = 0x8
} ;

Constants

 
D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CACHE_FOR_DRIVER
Value: 0x1
Specifies a cache that's managed by Direct3D 12 to store driver compilations of application shaders.
D3D12_SHADER_CACHE_KIND_FLAG_IMPLICIT_D3D_CONVERSIONS
Value: 0x2
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
Value: 0x4
Specifies a cache that's managed by the driver. Operations for this cache are hints.
D3D12_SHADER_CACHE_KIND_FLAG_APPLICATION_MANAGED
Value: 0x8
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

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

See also