|
Blender V4.5
|
Public Member Functions | |
| SocketUsageInferencer (const bNodeTree &tree, const std::optional< Span< GPointer > > tree_input_values, const std::optional< Span< bool > > top_level_ignored_inputs=std::nullopt) | |
| void | mark_top_level_node_outputs_as_used () |
| bool | is_group_input_used (const int input_i) |
| bool | is_socket_used (const SocketInContext &socket) |
| const void * | get_socket_value (const SocketInContext &socket) |
Utility class to simplify passing global state into all the functions during inferencing.
Definition at line 32 of file socket_usage_inference.cc.
|
inline |
Definition at line 72 of file socket_usage_inference.cc.
|
inline |
Definition at line 157 of file socket_usage_inference.cc.
References BLI_assert.
|
inline |
Definition at line 117 of file socket_usage_inference.cc.
References is_socket_used().
Referenced by blender::nodes::socket_usage_inference::infer_group_interface_inputs_usage().
|
inline |
Definition at line 128 of file socket_usage_inference.cc.
References BLI_assert.
Referenced by blender::nodes::socket_usage_inference::infer_all_input_sockets_usage(), blender::nodes::socket_usage_inference::infer_group_interface_inputs_usage(), and is_group_input_used().
|
inline |
Definition at line 103 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_all_input_sockets_usage().