---
title: "readOutputs(_:)"
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/readoutputs(_:)"
---

# readOutputs(_:)

Returns all output buffers for the given output node.

## Declaration

```swift
func readOutputs(_ node: ComputeNodeGraph.NodeID) -> [any MTLBuffer]?
```

## Parameters

- `node`: The node identifier whose output buffers should be read.

## Return Value

Return Value An array of MTLBuffer objects, or nil if the node identifier is invalid or no output buffers are found.
