---
title: "readOutput(_:)"
framework: realitykit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "realitykit/computegraphruntimecomponent/readoutput(_:)"
---

# readOutput(_:)

Returns the output buffer for the port at the given address.

## Declaration

```swift
func readOutput(_ port: ComputeNodeGraph.Port.Address) -> (any MTLBuffer)?
```

## Parameters

- `port`: The port address of the output to read.

## Return Value

Return Value The MTLBuffer for that port, or nil if not found.
