Feedback
Outputs what another operator produced last time, so a chain can be fed with its own result.
Outputs
| Name | Type | Description |
|---|---|---|
| Output | [Data Type] | What the target produced last time. |
Inputs
| Name | Type | Description |
|---|---|---|
| Input | [Data Type] | What the loop starts from on a refresh. |
Parameters
| Name | Type | Description |
|---|---|---|
| Data Type | Enum | What the input and the output carry, chosen from all data types ZigZag knows. Changing it clears the target and removes the connections of the input and the output. |
| Target | Reference | The output of another operator in the same graph whose result is passed on. Only outputs of the chosen data type can be picked. |
| Refresh | Trigger | Passes the input through for one frame instead of the target's result. |
The Feedback operator lets a chain of operators work on its own result. Connections cannot run in a circle, so instead the operator points at an output elsewhere in the graph and outputs what that target produced last time. Use it for trails: blur a texture, blend it with a fresh frame and feed the result back every frame.
Refresh restarts the loop from the input. A new operator starts with a refresh, and with no target chosen it only outputs something on a refresh.
Keywords: loop, cycle, previous frame, trails, recursion, echo