Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Describes the level of support for shader caching in the current graphics driver.
Syntax
typedef enum D3D11_SHADER_CACHE_SUPPORT_FLAGS {
D3D11_SHADER_CACHE_SUPPORT_NONE = 0,
D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE = 0x1,
D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHE = 0x2
} ;
Constants
D3D11_SHADER_CACHE_SUPPORT_NONEValue: 0 Indicates that the driver does not support shader caching. |
D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHEValue: 0x1 Indicates that the driver supports an OS-managed shader cache that stores compiled shaders in memory during the current run of the application. |
D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_DISK_CACHEValue: 0x2 Indicates that the driver supports an OS-managed shader cache that stores compiled shaders on disk to accelerate future runs of the application. |
Remarks
This enum is used by the D3D11_FEATURE_DATA_SHADER_CACHE structure.
Requirements
| Requirement | Value |
|---|---|
| Header | d3d11.h |