Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
Defines constants that specify shader cache control options.
Syntax
typedef enum D3D12_SHADER_CACHE_CONTROL_FLAGS {
D3D12_SHADER_CACHE_CONTROL_FLAG_DISABLE = 0x1,
D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLE = 0x2,
D3D12_SHADER_CACHE_CONTROL_FLAG_CLEAR = 0x4
} ;
Constants
D3D12_SHADER_CACHE_CONTROL_FLAG_DISABLEValue: 0x1 Specifies that the cache shouldn't be used to look up data, and shouldn't have new data stored in it. Attempts to use/create a cache while it's disabled result in DXGI_ERROR_NOT_CURRENTLY_AVAILABLE. |
D3D12_SHADER_CACHE_CONTROL_FLAG_ENABLEValue: 0x2 Specfies that use of the cache should be resumed. |
D3D12_SHADER_CACHE_CONTROL_FLAG_CLEARValue: 0x4 Specfies that any existing contents of the cache should be deleted. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10 Build 20348 |
| Minimum supported server | Windows 10 Build 20348 |
| Header | d3d12.h |