db&w documentation wiki

finest software | finest docs

User Tools

Site Tools


tools:cache

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:cache [2013/10/18 15:38] lightwolftools:cache [2024/06/01 12:39] (current) lightwolf
Line 1: Line 1:
 ====== Cache ====== ====== Cache ======
-{{:tools:cachenode.png?nolink |}}{{ :tools:cachegui.png?nolink|}} 
 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) if multiple inputs are connected to their output.+This node can be used for all computationally heavy nodes if multiple inputs are connected to their output.
  
 +{{ :tools:pasted:20240601-123847.png}}
 +
 +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.
 {{ :tools:cache.jpg?300|}} {{ :tools:cache.jpg?300|}}
 ===== Sample Content ===== ===== Sample Content =====
tools/cache.1382103501.txt.gz · Last modified: by lightwolf