One Logo Pool Ball
ComputeGraph · IOS API REFERENCE

ComputeNodeGraph.StateType

enum · iOS 27.0+ · SDK 27.1

enum StateType

The shape of a value stored in a compute graph's state. `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.

Members (1)

method · iOS 27.0+

loadBuffer

TypeScript
loadBuffer(data: ArrayBuffer): { "data": ArrayBuffer; "elementCount": number }
Swift declaration
func loadBuffer(from data: Data) throws -> (data: Data, elementCount: Int)

Skipped declarations

No declarations were skipped in this snapshot.

All ComputeGraph types →