<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/PortalMaterial/Program-swift.struct/Descriptor-swift.struct/inputValues",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation14PortalMaterialV7ProgramV10DescriptorV11inputValuesSDySSAA0D10ParametersV5ValueOGvp"
  },
  "title" : "inputValues"
}
-->

# inputValues

Initial values for the inputs that the shader graph declares.

```
var inputValues: [String : MaterialParameters.Value]
```

## Discussion

Each entry binds a graph input by name to a starting value. The
engine applies these values when a [`PortalMaterial`](/documentation/RealityKit/PortalMaterial) is first
created from the resulting program; you can change any of them
at runtime by calling
[`setParameter(name:value:)`](/documentation/RealityKit/PortalMaterial/setParameter(name:value:)).

Inputs that the graph declares as function constants belong in
[`constantValues`](/documentation/RealityKit/PortalMaterial/Program-swift.struct/Descriptor-swift.struct/constantValues) instead.

---

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)