Table of Contents

Method Execute

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

Execute(string[], TerrainGenerationConfigs, GraphInputContainer, FillArgumentsHandler)

Starts a progressive graph execution and returns a handle that can be yielded and inspected.

public ExecutionHandle Execute(string[] nodeIds, TerrainGenerationConfigs configs, GraphInputContainer inputContainer = null, TerrainGraph.FillArgumentsHandler fillArgumentsCallback = null)

Parameters

nodeIds string[]

The output node ids to resolve. The graph automatically expands these into the full dependency chain required for execution.

configs TerrainGenerationConfigs

Request-wide execution settings such as resolution, bounds, height scale, and seed.

inputContainer GraphInputContainer

Optional external inputs to bind into the execution context before node evaluation starts.

fillArgumentsCallback TerrainGraph.FillArgumentsHandler

Optional callback that appends extra values to the argument table after the standard graph arguments have been written.

Returns

ExecutionHandle

An ExecutionHandle that owns the running coroutine, progress state, and the DataPool for this execution.

Remarks

Nodes that support split execution may run through their coroutine path here. Callers typically yield on the returned handle, then remove final outputs from data before disposing it.