Class XNodePipelineAssembler
Assembles a pipeline from a XNode sub-graph consisting of interconnected IPipelineWorkers.
Implements
Namespace: Holoride.ElasticSDK.Graph
Assembly: Holoride.ElasticSDK.Runtime.dll
Syntax
public class XNodePipelineAssembler : IPipelineAssembler
Constructors
XNodePipelineAssembler(IEnumerable<Node>)
Declaration
public XNodePipelineAssembler(IEnumerable<Node> nodes)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Node> | nodes | The nodes to assemble the pipeline from. Will traverse the graph starting from these nodes, following their inputs. |
Properties
GeneratedNodeWorkers
Gets a mapping of nodes to the workers that were generated for them.
Declaration
public Dictionary<IPipelineNode, IPipelineWorker> GeneratedNodeWorkers { get; }
Property Value
Type | Description |
---|---|
Dictionary<IPipelineNode, IPipelineWorker> |
Methods
AssemblePipeline(GenerationSettings, GenerationState)
Gathers all pipeline nodes.
Declaration
public Pipeline AssemblePipeline(GenerationSettings generationSettings, GenerationState generationState)
Parameters
Type | Name | Description |
---|---|---|
GenerationSettings | generationSettings | The GenerationSettings that contains immutable data that cannot be changed during the whole generation loop. |
GenerationState | generationState | The GenerationState that contains the current state of the generation process and will be updated over time. |
Returns
Type | Description |
---|---|
Pipeline |