D3D11_SHADER_CACHE_SUPPORT_FLAGS enumeration

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
} D3D11_SHADER_CACHE_SUPPORT_FLAGS;

Constants

D3D11_SHADER_CACHE_SUPPORT_NONE

Indicates that the driver does not support shader caching.

D3D11_SHADER_CACHE_SUPPORT_AUTOMATIC_INPROC_CACHE

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

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 D3D_FEATURE_DATA_SHADER_CACHE structure.

Requirements

Header

D3d11.h

See also

Core Structures

 

 

Show: