Contents

inputs

The declared input ports of this graph.

Declaration

final var inputs: [ShaderGraph.NodeDefinition.Input] { get }

Discussion

These ports are exposed as outputs on the arguments node. Initial values for each input must be supplied when creating a ShaderGraphMaterial.Program, and can be updated at runtime via ShaderGraphMaterial/setParameter(_:value:).