loadBuffer
TypeScriptloadBuffer(data: ArrayBuffer): { "data": ArrayBuffer; "elementCount": number }Swift declarationfunc loadBuffer(from data: Data) throws -> (data: Data, elementCount: Int)enum · iOS 27.0+ · SDK 27.1
enum StateTypeThe 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.
loadBuffer(data: ArrayBuffer): { "data": ArrayBuffer; "elementCount": number }Swift declarationfunc loadBuffer(from data: Data) throws -> (data: Data, elementCount: Int)No declarations were skipped in this snapshot.