ID3D12ShaderCacheSession::SetDeleteOnDestroy method (d3d12.h)

When all cache session objects corresponding to a given cache are destroyed, the cache is cleared.

See Remarks for the ways in which a disk cache can be cleared.

Syntax

void SetDeleteOnDestroy();

Return value

None

Remarks

A disk cache can be cleared in one of the following ways.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h
Library d3d12.lib
DLL d3d12.dll

See also