|
Blender V5.0
|
#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 | InputSocketUsageParams |
Can detect which sockets are used or disabled.
Definition at line 29 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 743 of file socket_usage_inference.cc.
References tree.
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_disabled_group_output | ( | int | output_i | ) |
Definition at line 1041 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_group_interface_usage().
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_disabled_output | ( | const SocketInContext & | socket | ) |
Definition at line 1046 of file socket_usage_inference.cc.
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_group_input_used | ( | int | input_i | ) |
Definition at line 1031 of file socket_usage_inference.cc.
Referenced by blender::nodes::gizmos::foreach_active_gizmo_exposed_to_modifier(), and blender::nodes::socket_usage_inference::infer_group_interface_usage().
| bool blender::nodes::socket_usage_inference::SocketUsageInferencer::is_socket_used | ( | const SocketInContext & | socket | ) |
Definition at line 1036 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_all_sockets_usage().
| 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 1026 of file socket_usage_inference.cc.
Referenced by blender::nodes::socket_usage_inference::infer_all_sockets_usage().
|
friend |
Definition at line 33 of file NOD_socket_usage_inference.hh.
References InputSocketUsageParams, and tree.
Referenced by InputSocketUsageParams.