---
title: primvarMappings
framework: realitykit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: realitykit/shadergraph/primvarmappings
---

# primvarMappings

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

## Declaration

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

## Discussion

Discussion Primvar nodes reference geometry data by name. Use this dictionary to specify which ShaderGraph.TextureCoordinate channel each name resolves to at render time.
