---
title: sharedUniforms
framework: Compute Graph
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/computenodegraph/assembly/shareduniforms
---

# sharedUniforms

Uniforms that are shared across multiple graphs, keyed by typeName.

## Declaration

```swift
var sharedUniforms: [String : ComputeNodeGraph.Assembly.UniformBinding] { get }
```

## Discussion

Discussion Shared uniforms are stored globally and copied into each simulation’s uniform buffer before GPU execution. Use them for scene-wide values that many simulations read, such as transform matrices, attractors, or colliders.
