<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ComputeGraphRuntimeComponent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "RealityKit",
      "ComputeGraph"
    ],
    "preciseIdentifier" : "s:24_RealityKit_ComputeGraph0cD16RuntimeComponentV"
  },
  "title" : "ComputeGraphRuntimeComponent"
}
-->

# ComputeGraphRuntimeComponent

Manages the live GPU simulation for an entity’s `ComputeGraphComponent_v1`.

```
struct ComputeGraphRuntimeComponent
```

## Overview

RealityKit creates the ComputeGraphRuntimeComponent automatically on the first
frame that a ComputeGraphComponent becomes active. You do not need to add it manually.

## Topics

### Instance Properties

[`var simulation: ComputeGraphSimulation`](/documentation/RealityKit/ComputeGraphRuntimeComponent/simulation)

The underlying compute graph simulation driving this entity.

### Instance Methods

[`func readOutput(ComputeNodeGraph.Port.Address) -> (any MTLBuffer)?`](/documentation/RealityKit/ComputeGraphRuntimeComponent/readOutput(_:))

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

[`func readOutputs(ComputeNodeGraph.NodeID) -> [any MTLBuffer]?`](/documentation/RealityKit/ComputeGraphRuntimeComponent/readOutputs(_:))

Returns all output buffers for the given output node.

## Relationships

### Conforms To

[`Component`](/documentation/RealityKit/Component)

[`TransientComponent`](/documentation/RealityKit/TransientComponent)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)