<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ShaderGraph/inputs",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:11ShaderGraphAAC6inputsSayAB14NodeDefinitionV5InputVGvp"
  },
  "title" : "inputs"
}
-->

# inputs

The declared input ports of this graph.

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

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)