deviceBuffers
TypeScriptget deviceBuffers(): Array<ComputeNodeGraph_Assembly_BufferBinding>Swift declarationvar deviceBuffers: [ComputeNodeGraph.Assembly.BufferBinding] { get }struct · iOS 27.0+ · SDK 27.1
struct AssemblyFully assembled configuration of compute graph nodes. You can create an assembly from a ComputeNodeGraph to obtain the layout of all buffers and uniforms needed by the graph. Unless you need the layout before or without compiling the shaders, you can compile ``Pipelines`` directly from a ``ComputeNodeGraph``.
get deviceBuffers(): Array<ComputeNodeGraph_Assembly_BufferBinding>Swift declarationvar deviceBuffers: [ComputeNodeGraph.Assembly.BufferBinding] { get }get namedUniforms(): Record<string, ComputeNodeGraph_Assembly_UniformBinding>Swift declarationvar namedUniforms: [String : ComputeNodeGraph.Assembly.UniformBinding] { get }Uniforms that are named and exposed as parameters of this graph, keyed by name. Unlike ``sharedUniforms``, named uniforms are local to this graph and not shared with other graphs.
get sharedUniforms(): Record<string, ComputeNodeGraph_Assembly_UniformBinding>Swift declarationvar sharedUniforms: [String : ComputeNodeGraph.Assembly.UniformBinding] { get }Uniforms that are shared across multiple graphs, keyed by typeName. Shared uniforms are stored globally and copied into each simulation's uniform buffer before GPU execution. Use them for scene-wide values that many simulations read, such as transform matrices, attractors, or colliders.
get constantBuffers(): Array<ComputeNodeGraph_Assembly_BufferBinding>Swift declarationvar constantBuffers: [ComputeNodeGraph.Assembly.BufferBinding] { get }get uniformBufferSize(): numberSwift declarationvar uniformBufferSize: Int { get }get textures(): Array<ComputeNodeGraph_Assembly_TextureBinding>Swift declarationvar textures: [ComputeNodeGraph.Assembly.TextureBinding] { get }get uniforms(): NativeMap<ComputeNodeGraph_Port_Address, ComputeNodeGraph_Assembly_Location>Swift declarationvar uniforms: [ComputeNodeGraph.Port.Address : ComputeNodeGraph.Assembly.Location] { get }static init(graph: ComputeNodeGraph): ComputeNodeGraph_AssemblySwift declarationinit(_ graph: ComputeNodeGraph) throwsNo declarations were skipped in this snapshot.