Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_NONE Value: 0 Indicates that the driver does not support shader caching. |
D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE Value: 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_CACHE Value: 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 |