PFND3D12DDI_IMPLICITSHADERCACHECONTROL_0080 callback function (d3d12umddi.h)

The pfnImplicitShaderCacheControl callback function can optionally perform an application-requested action on the driver-managed shader cache.

Syntax

PFND3D12DDI_IMPLICITSHADERCACHECONTROL_0080 Pfnd3d12ddiImplicitshadercachecontrol0080;

void Pfnd3d12ddiImplicitshadercachecontrol0080(
  D3D12DDI_HDEVICE unnamedParam1,
  D3D12DDI_IMPLICIT_SHADER_CACHE_CONTROL_FLAGS_0080 unnamedParam2
)
{...}

Parameters

unnamedParam1

A handle to the display device (graphics context).

unnamedParam2

A D3D12DDI_IMPLICIT_SHADER_CACHE_CONTROL_FLAGS_0080 value that describes the shader cache control action(s) to take on the driver-managed shader cache.

Return value

None

Remarks

The runtime calls pfnImplicitShaderCacheControl in response to an application request for cache control. These application requests are considered as hints to the driver.

This callback function is supported only in developer mode.

See the D3D12 Shader Cache APIs specification for more information.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header d3d12umddi.h

See also

D3D12DDI_D3D12_OPTIONS_DATA_008n

D3D12DDI_IMPLICIT_SHADER_CACHE_CONTROL_FLAGS_0080