D3D12DDI_NODE_0108 structure (d3d12umddi.h)

The D3D12DDI_NODE_0108 structure describes a node in a work graph.

Syntax

typedef struct _D3D12DDI_NODE_0108 {
  UINT                    VersionAdded;
  D3D12DDI_NODE_TYPE_0108 NodeType;
  union {
    D3D12DDI_SHADER_NODE_0108 Shader;
  };
} D3D12DDI_NODE_0108;

Members

VersionAdded

Version number that the node was added to the state object, starting at 0 for the initial work graph. This value only becomes relevant when PFND3D12DDI_ADD_TO_STATE_OBJECT_0072 starts being used to add nodes to a work graph, in which case the version number distingushes when the node was added. The structure of a graph at any given version can be identified by considering any version less or equal to the relevant version number.

NodeType

A D3D12DDI_NODE_TYPE_0108 enumeration that specifies the type of the node and which union member is valid.

Shader

A D3D12DDI_SHADER_NODE_0108 structure that describes a shader node.

Remarks

Pointers to this structure at the DDI level (for example, from other node descriptions) are stable, which is of particular importance across PFND3D12DDI_ADD_TO_STATE_OBJECT_0072 additions.

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_NODE_LIST_ENTRY_0108

D3D12DDI_WORK_GRAPH_DESC_0108

PFND3D12DDI_ADD_TO_STATE_OBJECT_0072

PFND3D12DDI_CREATE_STATE_OBJECT_0054

PFND3D12DDI_DISPATCH_GRAPH_0108