Bewerken

Delen via


D3D12DDI_WORK_GRAPH_DESC_0084 structure (d3d12umddi.h)

The D3D12DDI_WORK_GRAPH_DESC_0084 structure defines the state subobject of type D3D12DDI_STATE_SUBOBJECT_TYPE_WORK_GRAPH.

Syntax

typedef struct D3D12DDI_WORK_GRAPH_DESC_0084 {
  LPCWSTR                  ProgramName;
  UINT                     NumNodes;
  const D3D12DDI_NODE_0084 const * * ppNodes;
  UINT                     NumEntrypoints;
  const UINT               *pEntrypointNodeIndices;
} D3D12DDI_WORK_GRAPH_DESC_0084;

Members

ProgramName

Name of the work graph. This name is unique in the given state object.

NumNodes

The number of nodes in the work graph, including already existing ones if an addition is happening. This value determines the elements in the pNodes array.

ppNodes

Pointer to a pointer to an array of D3D12DDI_NODE_0084 structures that describe the nodes in the work graph.

NumEntrypoints

Number of entrypoints including already existing ones if an addition is happening. This value determines the number of elements in the pEntrypoints array.

pEntrypointNodeIndices

Pointer to an array of indices into the pNodes array that specify the entrypoints for the work graph.

Remarks

For more information, see Work graphs.

Requirements

Requirement Value
Header d3d12umddi.h

See also

D3D12DDI_NODE_0084

D3D12DDI_STATE_SUBOBJECT_TYPE_WORK_GRAPH

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072

PFND3D12DDI_CREATE_STATE_OBJECT_0054

PFND3D12DDI_DISPATCH_GRAPH_0084