D3D12_SHADER_CACHE_MODE enumeration (d3d12.h)
Defines constants that specify a shader cache's mode.
Syntax
typedef enum D3D12_SHADER_CACHE_MODE {
D3D12_SHADER_CACHE_MODE_MEMORY = 0,
D3D12_SHADER_CACHE_MODE_DISK
} ;
Constants
D3D12_SHADER_CACHE_MODE_MEMORY Value: 0 Specifies that there's no backing file for this cache. All stores are discarded when the session object is destroyed. |
D3D12_SHADER_CACHE_MODE_DISK Specifies that the session is backed by files on disk that persist from run to run unless cleared. For ways to clear a disk cache, see ID3D12ShaderCacheSession::SetDeleteOnDestroy. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d3d12.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for