---
title: ComputeNodeGraph.Assembly.UniformBinding
framework: Compute Graph
role: symbol
role_heading: Structure
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: computegraph/computenodegraph/assembly/uniformbinding
---

# ComputeNodeGraph.Assembly.UniformBinding

Describes how a uniform value is located within the graph’s uniform buffer.

## Declaration

```swift
struct UniformBinding
```

## Overview

Overview A uniform binding combines a Relocation_v1 (the byte offset and size within the uniform buffer) with a ComputeNodeGraph.StateType describing the data layout at that location.

## Topics

### Initializers

- [init(location:type:)](computegraph/computenodegraph/assembly/uniformbinding/init(location:type:).md)

### Instance Properties

- [location](computegraph/computenodegraph/assembly/uniformbinding/location.md)
- [type](computegraph/computenodegraph/assembly/uniformbinding/type.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
