One Logo Pool Ball
ComputeGraph · IOS API REFERENCE

ComputeNodeGraph.Node

struct · iOS 27.0+ · SDK 27.1

struct Node

Members (16)

init · iOS 27.0+

init

TypeScript
static init(definition: ComputeNodeGraph_NodeDefinition, label?: (string) | null): ComputeNodeGraph_Node
Swift declaration
init(definition: ComputeNodeGraph.NodeDefinition, label: String? = nil)
get · iOS 27.0+

definition

TypeScript
get definition(): ComputeNodeGraph_NodeDefinition
Swift declaration
var definition: ComputeNodeGraph.NodeDefinition
set · iOS 27.0+

definition

TypeScript
set definition(value: ComputeNodeGraph_NodeDefinition)
Swift declaration
var definition: ComputeNodeGraph.NodeDefinition
get · iOS 27.0+

kind

TypeScript
get kind(): ComputeNodeGraph_Node_Kind
Swift declaration
var kind: ComputeNodeGraph.Node.Kind

Type of the node

set · iOS 27.0+

kind

TypeScript
set kind(value: ComputeNodeGraph_Node_Kind)
Swift declaration
var kind: ComputeNodeGraph.Node.Kind

Type of the node

get · iOS 27.0+

label

TypeScript
get label(): (string) | null
Swift declaration
var label: String?

Optional user-provided label for the node

set · iOS 27.0+

label

TypeScript
set label(value: (string) | null)
Swift declaration
var label: String?

Optional user-provided label for the node

get · iOS 27.0+

metadata

TypeScript
get metadata(): (ComputeNodeGraph_Metadata) | null
Swift declaration
var metadata: ComputeNodeGraph.Metadata?

Node metadata -- data which is not needed during compilation but might be useful at edit time.

set · iOS 27.0+

metadata

TypeScript
set metadata(value: (ComputeNodeGraph_Metadata) | null)
Swift declaration
var metadata: ComputeNodeGraph.Metadata?

Node metadata -- data which is not needed during compilation but might be useful at edit time.

method

setInput

TypeScript
setInputAt(index: number, value?: (ArrayBuffer) | null): void
Swift declaration
mutating func setInput(at index: Int, _ value: Data?)
method

setInput

TypeScript
setInput(name: string, value: ArrayBuffer): boolean
Swift declaration
@discardableResult mutating func setInput(_ name: String, _ value: Data) -> Bool
method

setInput

TypeScript
setInput89477(name: string, value: string): boolean
Swift declaration
@discardableResult mutating func setInput(_ name: String, _ value: String) -> Bool
method

setInput

TypeScript
setInput52874(name: string, value: boolean): boolean
Swift declaration
@discardableResult mutating func setInput(_ name: String, _ value: Bool) -> Bool
get · iOS 27.0+

uniforms

TypeScript
get uniforms(): Array<(ArrayBuffer) | null>
Swift declaration
var uniforms: [Data?]

Uniform values for the node. Order of values matches ``NodeDefinition.inputs``

set · iOS 27.0+

uniforms

TypeScript
set uniforms(value: Array<(ArrayBuffer) | null>)
Swift declaration
var uniforms: [Data?]

Uniform values for the node. Order of values matches ``NodeDefinition.inputs``

method

inputData

TypeScript
inputData(name: string): (ArrayBuffer) | null
Swift declaration
func inputData(named name: String) -> Data?

Skipped declarations

4 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

ComputeNodeGraph.Node.input(at:)

This declaration needs Swift generic type arguments. (no canonical witness for V)

ComputeNodeGraph.Node.input(named:)

This declaration needs Swift generic type arguments. (no canonical witness for V)

ComputeNodeGraph.Node.setInput(at:_:)

This declaration needs Swift generic type arguments. (no canonical witness for V)

ComputeNodeGraph.Node.setInput(_:_:)

This declaration needs Swift generic type arguments. (no canonical witness for V)

All ComputeGraph types →