This is analogous to SynthGraph.Builder
in ScalaCollider.
Installs a custom graph builder on the current thread, during the invocation of a closure.
Installs a custom graph builder on the current thread, during the invocation of a closure. This method is typically called from other libraries which wish to provide a graph builder other than the default.
When the method returns, the previous graph builder has automatically
been restored. During the execution of the body
, calling
Graph.builder
will return the given builder
argument.
the result type of the body
the builder to install on the current thread
the body which is executed with the builder found through Graph.builder
the result of executing the body