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

# ComputeNodeGraph.Assembly.Attachment

Identifies where a resource is attached in the compute graph.

## Declaration

```swift
enum Attachment
```

## Overview

Overview Each buffer and texture bound to a compute pipeline is sourced from a specific attachment point: the graph itself, or a named input or output port on a node.

## Topics

### Enumeration Cases

- [ComputeNodeGraph.Assembly.Attachment.graph](computegraph/computenodegraph/assembly/attachment/graph.md)
- [ComputeNodeGraph.Assembly.Attachment.input(_:)](computegraph/computenodegraph/assembly/attachment/input(_:).md)
- [ComputeNodeGraph.Assembly.Attachment.output(_:)](computegraph/computenodegraph/assembly/attachment/output(_:).md)

## Relationships

### Conforms To

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