|
Blender V4.3
|
#include <NOD_inverse_eval_params.hh>
Public Member Functions | |
| InverseEvalParams (const bNode &node, const Map< const bNodeSocket *, bke::SocketValueVariant > &socket_values, Map< const bNodeSocket *, bke::SocketValueVariant > &updated_socket_values) | |
| template<typename T > | |
| T | get_output (const StringRef identifier) const |
| template<typename T > | |
| T | get_input (const StringRef identifier) const |
| template<typename T > | |
| void | set_input (const StringRef identifier, T value) |
Public Attributes | |
| const bNode & | node |
Is passed to inverse node evaluation functions to figure out how the inputs have to change exactly to get a specific output value. What is special here is that this gives access to (logged) node inputs and node output values, instead of just either inputs or outputs.
This is required because sometimes certain inputs are fixed and need to be known to be able to figure out how another input changes. A typical example of this is the math node, where the second input is fixed and only the first input changes.
Definition at line 23 of file NOD_inverse_eval_params.hh.
| blender::nodes::inverse_eval::InverseEvalParams::InverseEvalParams | ( | const bNode & | node, |
| const Map< const bNodeSocket *, bke::SocketValueVariant > & | socket_values, | ||
| Map< const bNodeSocket *, bke::SocketValueVariant > & | updated_socket_values ) |
Definition at line 791 of file inverse_eval.cc.
|
inline |
Definition at line 44 of file NOD_inverse_eval_params.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and T.
|
inline |
Definition at line 35 of file NOD_inverse_eval_params.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), and T.
|
inline |
Definition at line 53 of file NOD_inverse_eval_params.hh.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add().
| const bNode& blender::nodes::inverse_eval::InverseEvalParams::node |
Definition at line 29 of file NOD_inverse_eval_params.hh.