// d3d12umddi.h
typedef struct _D3D12DDI_NODE_0108 {
UINT VersionAdded;
D3D12DDI_NODE_TYPE_0108 NodeType;
union {
D3D12DDI_SHADER_NODE_0108 Shader;
};
} D3D12DDI_NODE_0108;
View the official Windows Driver Kit DDI referenceNo description available.
The D3D12DDI_NODE_0108 structure describes a node in a work graph.
VersionAddedVersion 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.
NodeTypeA D3D12DDI_NODE_TYPE_0108 enumeration that specifies the type of the node and which union member is valid.
ShaderA D3D12DDI_SHADER_NODE_0108 structure that describes a shader node.
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.
PFND3D12DDI_ADD_TO_STATE_OBJECT_0072
PFND3D12DDI_CREATE_STATE_OBJECT_0054
PFND3D12DDI_DISPATCH_GRAPH_0108