tools:cache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:cache [2013/10/18 15:38] – lightwolf | tools:cache [2024/06/01 12:39] (current) – lightwolf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Cache ====== | ====== Cache ====== | ||
- | {{: | ||
This node basically passes through the inputs to the matching output. However, if a value is requested from the output for a second time at the current spot (and recursion level) the last value will be returned. | This node basically passes through the inputs to the matching output. However, if a value is requested from the output for a second time at the current spot (and recursion level) the last value will be returned. | ||
This caches the value and prevents duplicate evaluations of the value connected to the input. | This caches the value and prevents duplicate evaluations of the value connected to the input. | ||
- | This node can be used for all computationally heavy nodes (such as material and shaders) | + | This node can be used for all computationally heavy nodes if multiple inputs are connected to their output. |
+ | {{ : | ||
+ | |||
+ | Dragging a node output to the new input on the Elbow node creates a pair of in- and outputs that match the name and type of the original output. The original output is then connected to the created input. The node itself does nothing except to pass through the values from the inputs to the outputs. | ||
+ | |||
+ | You can create as many pairs of inputs and outputs per Cache node as you want to. | ||
+ | |||
+ | To remove or clean up the node, right click on the node and use the node menu to remove a specific pair. | ||
+ | |||
+ | Flush unused Connections will remove all pairs where the input is not connected to anything. | ||
+ | |||
+ | The following types of connections can be cached: | ||
+ | * Colour | ||
+ | * Vector | ||
+ | * Scalar | ||
+ | * Integer | ||
+ | * Projection | ||
+ | * Matrix | ||
+ | |||
+ | ===== Controls===== | ||
+ | * **Pass Through** Pass through the values, effectively disabling the node. | ||
{{ : | {{ : | ||
===== Sample Content ===== | ===== Sample Content ===== |
tools/cache.1382103501.txt.gz · Last modified: by lightwolf