D3D12_FEATURE_DATA_SHADER_CACHE structure (d3d12.h)

Describes the level of shader caching supported in the current graphics driver.

Syntax

typedef struct D3D12_FEATURE_DATA_SHADER_CACHE {
  D3D12_SHADER_CACHE_SUPPORT_FLAGS SupportFlags;
} D3D12_FEATURE_DATA_SHADER_CACHE;

Members

SupportFlags

Type: D3D12_SHADER_CACHE_SUPPORT_FLAGS

SAL: Out

Indicates the level of caching supported.

Remarks

Use this structure with CheckFeatureSupport to determine the level of support offered for the optional shader-caching features.

See the enumeration constant D3D12_FEATURE_SHADER_CACHE in the D3D12_FEATURE enumeration.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures

D3D12_FEATURE