<!--
{
  "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/ComputeNodeGraph/PipelinesDescriptor/init(assembly:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Compute Graph"
    ],
    "preciseIdentifier" : "s:12ComputeGraph0a4NodeB0V19PipelinesDescriptorV8assemblyAeC8AssemblyV_tcfc"
  },
  "title" : "init(assembly:)"
}
-->

# init(assembly:)

Creates a descriptor configured for the given graph assembly.

```
init(assembly: ComputeNodeGraph.Assembly)
```

## Parameters

`assembly`

The assembled compute graph to compile pipelines for.

## Discussion

`options` defaults to [`init()`](/documentation/ComputeGraph/ComputeNodeGraph/Pipelines/Options-swift.struct/init()) and `libraries` is empty.
Add shader libraries with [`addLibrary(_:bundle:)`](/documentation/ComputeGraph/ComputeNodeGraph/PipelinesDescriptor/addLibrary(_:bundle:)) before compiling.

---

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)