|
Blender V4.3
|
Public Attributes | |
| void * | value = nullptr |
| ValueUsage | usage = ValueUsage::Maybe |
| bool | was_ready_for_execution = false |
Definition at line 81 of file lazy_function_graph_executor.cc.
| ValueUsage blender::fn::lazy_function::InputState::usage = ValueUsage::Maybe |
How the node intends to use this input. By default, all inputs may be used. Based on which outputs are used, a node can decide that an input will definitely be used or is never used. This allows freeing values early and avoids unnecessary computations.
Definition at line 95 of file lazy_function_graph_executor.cc.
| void* blender::fn::lazy_function::InputState::value = nullptr |
Value of this input socket. By default, the value is empty. When other nodes are done computing their outputs, the computed values will be forwarded to linked input sockets. The value will then live here until it is found that it is not needed anymore.
If was_ready_for_execution is true, access does not require holding the node lock.
Definition at line 89 of file lazy_function_graph_executor.cc.
| bool blender::fn::lazy_function::InputState::was_ready_for_execution = false |
Set to true once value is set and will stay true afterwards. Access during execution of a node, does not require holding the node lock.
Definition at line 100 of file lazy_function_graph_executor.cc.