ComputeNodeGraph.StructureDefinition
A named structure type, pairing a type name with its in-memory layout.
Declaration
struct StructureDefinitionOverview
A structure definition describes a composite value that can flow through a compute graph. It associates a Swift- or Metal-visible type name with a ComputeNodeGraph.StructureLayout that lays out the structure’s members, their offsets, and its overall size and stride.
Use a structure definition to refer to user-defined aggregate types from other graph types, such as ComputeNodeGraph.ValueType.structure(definition:) or ComputeNodeGraph/StateType/structure(typeName:layout:).