<!--
{
  "availability" : [
    "Reality Composer Pro: -",
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ComputeGraph",
  "identifier" : "/documentation/ComputeGraph/ComputeGraphSimulation/init(pipelines:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Compute Graph",
      "ComputeGraph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0aB10SimulationC9pipelinesAcA0a4NodeB0V9PipelinesVSg_tcfc"
  },
  "title" : "init(pipelines:)"
}
-->

# init(pipelines:)

Initialize a ComputeGraphSimulation for the given pipelines, or a
default pipeline if not specified.

```
convenience init(pipelines: ComputeNodeGraph.Pipelines?)
```

## Discussion

The simulation will use the ComputeGraphFramework’s default queue for
operations such as [`fastForward()`](/documentation/ComputeGraph/ComputeGraphSimulation/fastForward()) and resetting after setting
the pipeline.

Prefer `init(pipeline:commandQueue:)` to this method.

---

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)