ComputeNodeGraph.PipelinesDescriptor
Specifies the configuration used to compile a set of compute pipelines for a compute graph effect.
Declaration
struct PipelinesDescriptorOverview
Use a descriptor when you need explicit control over pipeline compilation — for example, to supply Metal libraries from multiple bundles or to enable debug draw. Pass the configured descriptor to ComputeNodeGraph.Pipelines/init(descriptor:) to compile.
var descriptor = ComputeNodeGraph.PipelinesDescriptor(assembly: assembly)
descriptor.addLibrary(myMTLLibrary, bundle: "com.example.MyEffects")
descriptor.options.debugDraw = true
let pipelines = try await ComputeNodeGraph.Pipelines(descriptor: descriptor)