init(assembly:)
Creates a descriptor configured for the given graph assembly.
Declaration
init(assembly: ComputeNodeGraph.Assembly)Parameters
- assembly:
The assembled compute graph to compile pipelines for.
Discussion
options defaults to init() and libraries is empty. Add shader libraries with addLibrary(_:bundle:) before compiling.