ComputeNodeGraph.StateType
The shape of a value stored in a compute graph’s state.
Declaration
enum StateTypeOverview
StateType describes what kind of value a state holds. The shape determines the slot’s size, alignment, and how it is surfaced in generated Metal source and in graph serialization.
Topics
Enumeration Cases
ComputeNodeGraph.StateType.array(definition:)ComputeNodeGraph.StateType.data(length:)ComputeNodeGraph.StateType.dataType(type:)ComputeNodeGraph.StateType.primitive(type:)ComputeNodeGraph.StateType.structure(definition:)