|
Blender V5.3
|
#include <NOD_socket_usage_inference.hh>
Public Member Functions | |
| SocketUsageInferencer (const bNodeTree &tree, ResourceScope &scope, SocketValueInferencer &value_inferencer, bke::ComputeContextCache &compute_context_cache, bool ignore_top_level_node_muting=false) | |
| bool | is_socket_used (const SocketInContext &socket) |
| bool | is_group_input_used (int input_i) |
| bool | is_disabled_output (const SocketInContext &socket) |
| bool | is_disabled_group_output (int output_i) |
| void | mark_top_level_node_outputs_as_used () |
Friends | |
| class | SocketUsageParams |
Can detect which sockets are used or disabled.
Definition at line 35 of file NOD_socket_usage_inference.hh.
| blender::nodes::socket_usage_inference::SocketUsageInferencer::SocketUsageInferencer | ( | const bNodeTree & | tree, |
| ResourceScope & | scope, | ||
| SocketValueInferencer & | value_inferencer, | ||
| bke::ComputeContextCache & | compute_context_cache, | ||
| bool | ignore_top_level_node_muting = false ) |
Definition at line 877 of file socket_usage_inference.cc.
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_disabled_group_output | ( | int | output_i | ) |
Definition at line 1184 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_group_interface_usage(), and SocketUsageParams.
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_disabled_output | ( | const SocketInContext & | socket | ) |
Definition at line 1189 of file socket_usage_inference.cc.
Referenced by SocketUsageParams.
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_group_input_used | ( | int | input_i | ) |
Definition at line 1174 of file socket_usage_inference.cc.
Referenced by blender::nodes::gizmos::foreach_active_gizmo_exposed_to_modifier(), blender::nodes::socket_usage_inference::infer_group_interface_usage(), and SocketUsageParams.
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_socket_used | ( | const SocketInContext & | socket | ) |
Definition at line 1179 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_all_sockets_usage(), and SocketUsageParams.
| void blender::nodes::socket_usage_inference::SocketUsageInferencer::mark_top_level_node_outputs_as_used | ( | ) |
This can be used when detecting the usage of all input sockets in a node tree, instead of just the inputs of the group as a whole.
Definition at line 1169 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_all_sockets_usage(), and SocketUsageParams.
|
friend |
Definition at line 39 of file NOD_socket_usage_inference.hh.
References is_disabled_group_output(), is_disabled_output(), is_group_input_used(), is_socket_used(), mark_top_level_node_outputs_as_used(), and SocketUsageParams.
Referenced by SocketUsageParams.