Blender  V3.3
Classes | Functions
blender::bke::node_field_inferencing Namespace Reference

Classes

struct  SocketFieldState
 

Functions

static bool is_field_socket_type (eNodeSocketDatatype type)
 
static bool is_field_socket_type (const SocketRef &socket)
 
static InputSocketFieldType get_interface_input_field_type (const NodeRef &node, const InputSocketRef &socket)
 
static OutputFieldDependency get_interface_output_field_dependency (const NodeRef &node, const OutputSocketRef &socket)
 
static FieldInferencingInterface get_dummy_field_inferencing_interface (const NodeRef &node)
 
static FieldInferencingInterface get_node_field_inferencing_interface (const NodeRef &node)
 
static Vector< const InputSocketRef * > gather_input_socket_dependencies (const OutputFieldDependency &field_dependency, const NodeRef &node)
 
static OutputFieldDependency find_group_output_dependencies (const InputSocketRef &group_output_socket, const Span< SocketFieldState > field_state_by_socket_id)
 
static void propagate_data_requirements_from_right_to_left (const NodeTreeRef &tree, const MutableSpan< SocketFieldState > field_state_by_socket_id)
 
static void determine_group_input_states (const NodeTreeRef &tree, FieldInferencingInterface &new_inferencing_interface, const MutableSpan< SocketFieldState > field_state_by_socket_id)
 
static void propagate_field_status_from_left_to_right (const NodeTreeRef &tree, const MutableSpan< SocketFieldState > field_state_by_socket_id)
 
static void determine_group_output_states (const NodeTreeRef &tree, FieldInferencingInterface &new_inferencing_interface, const Span< SocketFieldState > field_state_by_socket_id)
 
static void update_socket_shapes (const NodeTreeRef &tree, const Span< SocketFieldState > field_state_by_socket_id)
 
static bool update_field_inferencing (const NodeTreeRef &tree)
 

Function Documentation

◆ determine_group_input_states()

static void blender::bke::node_field_inferencing::determine_group_input_states ( const NodeTreeRef tree,
FieldInferencingInterface new_inferencing_interface,
const MutableSpan< SocketFieldState field_state_by_socket_id 
)
static

◆ determine_group_output_states()

static void blender::bke::node_field_inferencing::determine_group_output_states ( const NodeTreeRef tree,
FieldInferencingInterface new_inferencing_interface,
const Span< SocketFieldState field_state_by_socket_id 
)
static

◆ find_group_output_dependencies()

static OutputFieldDependency blender::bke::node_field_inferencing::find_group_output_dependencies ( const InputSocketRef group_output_socket,
const Span< SocketFieldState field_state_by_socket_id 
)
static

◆ gather_input_socket_dependencies()

static Vector<const InputSocketRef *> blender::bke::node_field_inferencing::gather_input_socket_dependencies ( const OutputFieldDependency field_dependency,
const NodeRef node 
)
static

◆ get_dummy_field_inferencing_interface()

static FieldInferencingInterface blender::bke::node_field_inferencing::get_dummy_field_inferencing_interface ( const NodeRef node)
static

◆ get_interface_input_field_type()

static InputSocketFieldType blender::bke::node_field_inferencing::get_interface_input_field_type ( const NodeRef node,
const InputSocketRef socket 
)
static

◆ get_interface_output_field_dependency()

static OutputFieldDependency blender::bke::node_field_inferencing::get_interface_output_field_dependency ( const NodeRef node,
const OutputSocketRef socket 
)
static

◆ get_node_field_inferencing_interface()

static FieldInferencingInterface blender::bke::node_field_inferencing::get_node_field_inferencing_interface ( const NodeRef node)
static

◆ is_field_socket_type() [1/2]

static bool blender::bke::node_field_inferencing::is_field_socket_type ( const SocketRef socket)
static

◆ is_field_socket_type() [2/2]

static bool blender::bke::node_field_inferencing::is_field_socket_type ( eNodeSocketDatatype  type)
static

Definition at line 71 of file node_tree_update.cc.

References ELEM, SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_VECTOR, and type.

◆ propagate_data_requirements_from_right_to_left()

static void blender::bke::node_field_inferencing::propagate_data_requirements_from_right_to_left ( const NodeTreeRef tree,
const MutableSpan< SocketFieldState field_state_by_socket_id 
)
static

◆ propagate_field_status_from_left_to_right()

static void blender::bke::node_field_inferencing::propagate_field_status_from_left_to_right ( const NodeTreeRef tree,
const MutableSpan< SocketFieldState field_state_by_socket_id 
)
static

◆ update_field_inferencing()

static bool blender::bke::node_field_inferencing::update_field_inferencing ( const NodeTreeRef tree)
static

◆ update_socket_shapes()

static void blender::bke::node_field_inferencing::update_socket_shapes ( const NodeTreeRef tree,
const Span< SocketFieldState field_state_by_socket_id 
)
static