Bewerken

Delen via


PFND3D12DDI_GET_WORK_GRAPH_MEMORY_REQUIREMENTS_0108 callback function (d3d12umddi.h)

The user-mode driver's pfnGetWorkGraphMemoryRequirements function gets the backing memory size requirements for a work graph.

Syntax

PFND3D12DDI_GET_WORK_GRAPH_MEMORY_REQUIREMENTS_0108 Pfnd3d12ddiGetWorkGraphMemoryRequirements0108;

void Pfnd3d12ddiGetWorkGraphMemoryRequirements0108(
  D3D12DDI_HSTATEOBJECT_0054 unnamedParam1,
  LPCWSTR pProgramName,
  D3D12DDI_WORK_GRAPH_MEMORY_REQUIREMENTS_0108 *pRequirements
)
{...}

Parameters

unnamedParam1

[in] A D3D12DDI_HSTATEOBJECT_0054 handle to the state object for which the memory requirements are being queried.

pProgramName

[in] Pointer to a string that contains the name of the work graph which to retrieve memory requirements.

pRequirements

[out] Pointer to a D3D12DDI_WORK_GRAPH_MEMORY_REQUIREMENTS_0108 structure in which to return the backing memory size requirements for the work graph.

Return value

None

Remarks

For more information, see Work graphs.

Requirements

Requirement Value
Minimum supported client Windows 11, version 24H2 (WDDM 3.2)
Header d3d12umddi.h

See also

D3D12DDI_WORK_GRAPH_MEMORY_REQUIREMENTS_0108