Bewerken

Delen via


D3D12DDI_NODE_CPU_INPUT_0108 structure (d3d12umddi.h)

The D3D12DDI_NODE_CPU_INPUT_0108 structure describes the input data for a single node within a work graph where the input is provided by the CPU.

Syntax

typedef struct D3D12DDI_NODE_CPU_INPUT_0108 {
  UINT   EntrypointIndex;
  UINT   NumRecords;
  void   *pRecords;
  UINT64 RecordStrideInBytes;
} D3D12DDI_NODE_CPU_INPUT_0108;

Members

EntrypointIndex

The index of a given entry to a work graph.

NumRecords

The number of records to add. NumRecords is always used; that is, even with empty records the count of empty work items still drives node invocations.

pRecords

Pointer to the record definitions, laid out with the same member packing and struct size rules that C uses. The driver should copy/save this data during command list recording.

RecordStrideInBytes

Distance between the start of each record, in bytes. This value must be aligned to the largest scalar member size and be a multiple of 4 bytes.

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_DISPATCH_GRAPH_DESC_0108

PFND3D12DDI_DISPATCH_GRAPH_0108