<!--
{
  "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/primvarMappings",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:11ShaderGraphAAC15primvarMappingsSDySSAB17TextureCoordinateOGvp"
  },
  "title" : "primvarMappings"
}
-->

# primvarMappings

Maps primvar names used in this graph to texture coordinate channels.

```
final var primvarMappings: [String : ShaderGraph.TextureCoordinate]
```

## Discussion

Primvar nodes reference geometry data by name. Use this dictionary to specify
which [`ShaderGraph.TextureCoordinate`](/documentation/RealityKit/ShaderGraph/TextureCoordinate) channel each name resolves to at render time.

---

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)