Blender  V3.3
Namespaces | Classes | Enumerations | Functions | Variables
blender::ed::space_node Namespace Reference

Namespaces

 viewer_linking
 

Classes

struct  LinkDragSearchStorage
 
struct  bNodeSocketLink
 
struct  SocketTooltipData
 
struct  NodeErrorsTooltipData
 
struct  NodeExtraInfoRow
 
struct  NamedAttributeTooltipArg
 
struct  CompoJob
 
struct  NodeSizeWidget
 
struct  AttributeSearchData
 
struct  NodeCropWidgetGroup
 
struct  NodeSunBeamsWidgetGroup
 
struct  NodeCornerPinWidgetGroup
 
struct  bNodeLinkDrag
 
struct  SpaceNode_Runtime
 
struct  LinkAndPosition
 
struct  NodeLinkItem
 
struct  NodeLinkArg
 
struct  NodeViewMove
 
struct  ImageSampleInfo
 

Enumerations

enum  NodeResizeDirection {
  NODE_RESIZE_NONE = 0 , NODE_RESIZE_TOP = (1 << 0) , NODE_RESIZE_BOTTOM = (1 << 1) , NODE_RESIZE_RIGHT = (1 << 2) ,
  NODE_RESIZE_LEFT = (1 << 3)
}
 

Functions

static void node_socket_button_label (bContext *UNUSED(C), uiLayout *layout, PointerRNA *UNUSED(ptr), PointerRNA *UNUSED(node_ptr), const char *text)
 
static void node_buts_value (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_rgb (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_mix_rgb (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_time (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_colorramp (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_curvevec (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_curvefloat (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_curvecol (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_normal (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_texture (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_math (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_combsep_color (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
NodeResizeDirection node_get_resize_direction (const bNode *node, const int x, const int y)
 
static void node_draw_buttons_group (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_buts_frame_ex (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_common_set_butfunc (bNodeType *ntype)
 
static void node_buts_image_user (uiLayout *layout, bContext *C, PointerRNA *ptr, PointerRNA *imaptr, PointerRNA *iuserptr, const bool show_layer_selection, const bool show_color_management)
 
static void node_shader_buts_tex_image (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_shader_buts_tex_image_ex (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_shader_buts_tex_environment (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_shader_buts_tex_environment_ex (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_shader_buts_displacement (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_shader_buts_glossy (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_buts_output_shader (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_shader_set_butfunc (bNodeType *ntype)
 
static void node_buts_image_views (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr, PointerRNA *imaptr)
 
static void node_composit_buts_image (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_composit_buts_image_ex (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_composit_buts_huecorrect (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_composit_buts_ycc (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_composit_buts_combsep_color (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_composit_backdrop_viewer (SpaceNode *snode, ImBuf *backdrop, bNode *node, int x, int y)
 
static void node_composit_backdrop_boxmask (SpaceNode *snode, ImBuf *backdrop, bNode *node, int x, int y)
 
static void node_composit_backdrop_ellipsemask (SpaceNode *snode, ImBuf *backdrop, bNode *node, int x, int y)
 
static void node_composit_buts_cryptomatte_legacy (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_composit_buts_cryptomatte_legacy_ex (uiLayout *layout, bContext *UNUSED(C), PointerRNA *UNUSED(ptr))
 
static void node_composit_buts_cryptomatte (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_composit_set_butfunc (bNodeType *ntype)
 
static void node_texture_buts_bricks (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_texture_buts_proc (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_texture_buts_image (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_texture_buts_image_ex (uiLayout *layout, bContext *C, PointerRNA *ptr)
 
static void node_texture_buts_output (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_texture_buts_combsep_color (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static void node_texture_set_butfunc (bNodeType *ntype)
 
static void std_node_socket_draw_color (bContext *UNUSED(C), PointerRNA *ptr, PointerRNA *UNUSED(node_ptr), float *r_color)
 
static void std_node_socket_interface_draw_color (bContext *UNUSED(C), PointerRNA *ptr, float *r_color)
 
static void node_file_output_socket_draw (bContext *C, uiLayout *layout, PointerRNA *ptr, PointerRNA *node_ptr)
 
static bool socket_needs_attribute_search (bNode &node, bNodeSocket &socket)
 
static void std_node_socket_draw (bContext *C, uiLayout *layout, PointerRNA *ptr, PointerRNA *node_ptr, const char *text)
 
static void std_node_socket_interface_draw (bContext *UNUSED(C), uiLayout *layout, PointerRNA *ptr)
 
static void node_socket_virtual_draw_color (bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PointerRNA *UNUSED(node_ptr), float *r_color)
 
void draw_nodespace_back_pix (const bContext &C, ARegion &region, SpaceNode &snode, bNodeInstanceKey parent_key)
 
bool node_link_bezier_handles (const View2D *v2d, const SpaceNode *snode, const bNodeLink &link, float vec[4][2])
 
bool node_link_bezier_points (const View2D *v2d, const SpaceNode *snode, const bNodeLink &link, float coord_array[][2], const int resol)
 
static void nodelink_batch_reset ()
 
static void set_nodelink_vertex (GPUVertBuf *vbo, uint uv_id, uint pos_id, uint exp_id, uint v, const uchar uv[2], const float pos[2], const float exp[2])
 
static void nodelink_batch_init ()
 
static char nodelink_get_color_id (int th_col)
 
static void nodelink_batch_draw (const SpaceNode &snode)
 
void nodelink_batch_start (SpaceNode &UNUSED(snode))
 
void nodelink_batch_end (SpaceNode &snode)
 
static void nodelink_batch_add_link (const SpaceNode &snode, const float2 &p0, const float2 &p1, const float2 &p2, const float2 &p3, int th_col1, int th_col2, int th_col3, const float start_color[4], const float end_color[4], bool drawarrow, bool drawmuted, float dim_factor, float thickness, float dash_factor, float dash_alpha)
 
void node_draw_link_bezier (const bContext &C, const View2D &v2d, const SpaceNode &snode, const bNodeLink &link, const int th_col1, const int th_col2, const int th_col3, const bool selected)
 
void node_draw_link (const bContext &C, const View2D &v2d, const SpaceNode &snode, const bNodeLink &link, const bool selected)
 
static void add_reroute_node_fn (nodes::LinkSearchOpParams &params)
 
static void add_group_input_node_fn (nodes::LinkSearchOpParams &params)
 
static void add_existing_group_input_fn (nodes::LinkSearchOpParams &params, const bNodeSocket &interface_socket)
 
static void gather_socket_link_operations (bNodeTree &node_tree, const bNodeSocket &socket, Vector< SocketLinkOperation > &search_link_ops)
 
static void link_drag_search_update_fn (const bContext *UNUSED(C), void *arg, const char *str, uiSearchItems *items, const bool is_first)
 
static void link_drag_search_exec_fn (bContext *C, void *arg1, void *arg2)
 
static void link_drag_search_free_fn (void *arg)
 
static uiBlock * create_search_popup_block (bContext *C, ARegion *region, void *arg_op)
 
void invoke_node_link_drag_add_menu (bContext &C, bNode &node, bNodeSocket &socket, const float2 &cursor)
 
static void context_path_add_object_data (Vector< ui::ContextPathItem > &path, Object &object)
 
static void context_path_add_node_tree_and_node_groups (const SpaceNode &snode, Vector< ui::ContextPathItem > &path, const bool skip_base=false)
 
static void get_context_path_node_shader (const bContext &C, SpaceNode &snode, Vector< ui::ContextPathItem > &path)
 
static void get_context_path_node_compositor (const bContext &C, SpaceNode &snode, Vector< ui::ContextPathItem > &path)
 
static void get_context_path_node_geometry (const bContext &C, SpaceNode &snode, Vector< ui::ContextPathItem > &path)
 
Vector< ui::ContextPathItem > context_path_for_space_node (const bContext &C)
 
static bool compare_nodes (const bNode *a, const bNode *b)
 
void node_sort (bNodeTree &ntree)
 
static Array< uiBlock * > node_uiblocks_init (const bContext &C, Span< bNode * > nodes)
 
float2 node_to_view (const bNode &node, const float2 &co)
 
void node_to_updated_rect (const bNode &node, rctf &r_rect)
 
float2 node_from_view (const bNode &node, const float2 &co)
 
static void node_update_basis (const bContext &C, bNodeTree &ntree, bNode &node, uiBlock &block)
 
static void node_update_hidden (bNode &node, uiBlock &block)
 
static int node_get_colorid (const bNode &node)
 
static void node_draw_mute_line (const bContext &C, const View2D &v2d, const SpaceNode &snode, const bNode &node)
 
static void node_socket_draw (const bNodeSocket &sock, const float color[4], const float color_outline[4], float size, int locx, int locy, uint pos_id, uint col_id, uint shape_id, uint size_id, uint outline_col_id)
 
static void node_socket_draw_multi_input (const float color[4], const float color_outline[4], const float width, const float height, const int locx, const int locy)
 
static void node_socket_outline_color_get (const bool selected, const int socket_type, float r_outline_color[4])
 
void node_socket_color_get (const bContext &C, const bNodeTree &ntree, PointerRNA &node_ptr, const bNodeSocket &sock, float r_color[4])
 
static void create_inspection_string_for_generic_value (const GPointer value, std::stringstream &ss)
 
static void create_inspection_string_for_gfield (const geo_log::GFieldValueLog &value_log, std::stringstream &ss)
 
static void create_inspection_string_for_geometry (const geo_log::GeometryValueLog &value_log, std::stringstream &ss, const nodes::decl::Geometry *geometry)
 
static std::optional< std::string > create_socket_inspection_string (bContext *C, bNode &node, bNodeSocket &socket)
 
static bool node_socket_has_tooltip (bNodeTree *ntree, bNodeSocket *socket)
 
static char * node_socket_get_tooltip (bContext *C, bNodeTree *ntree, bNode *node, bNodeSocket *socket)
 
void node_socket_add_tooltip (bNodeTree *ntree, bNode *node, bNodeSocket *sock, uiLayout *layout)
 
static void node_socket_draw_nested (const bContext &C, bNodeTree &ntree, PointerRNA &node_ptr, uiBlock &block, bNodeSocket &sock, const uint pos_id, const uint col_id, const uint shape_id, const uint size_id, const uint outline_col_id, const float size, const bool selected)
 
static void node_draw_preview_background (rctf *rect)
 
static void node_draw_preview (bNodePreview *preview, rctf *prv)
 
static void node_toggle_button_cb (struct bContext *C, void *node_argv, void *op_argv)
 
static void node_draw_shadow (const SpaceNode &snode, const bNode &node, const float radius, const float alpha)
 
static void node_draw_sockets (const View2D &v2d, const bContext &C, bNodeTree &ntree, bNode &node, uiBlock &block, const bool draw_outputs, const bool select_all)
 
static int node_error_type_to_icon (const geo_log::NodeWarningType type)
 
static uint8_t node_error_type_priority (const geo_log::NodeWarningType type)
 
static geo_log::NodeWarningType node_error_highest_priority (Span< geo_log::NodeWarning > warnings)
 
static char * node_errors_tooltip_fn (bContext *UNUSED(C), void *argN, const char *UNUSED(tip))
 
static void node_add_error_message_button (const bContext &C, bNode &node, uiBlock &block, const rctf &rect, float &icon_offset)
 
static void get_exec_time_other_nodes (const bNode &node, const SpaceNode &snode, std::chrono::microseconds &exec_time, int &node_count)
 
static std::chrono::microseconds node_get_execution_time (const bNodeTree &ntree, const bNode &node, const SpaceNode &snode, int &node_count)
 
static std::string node_get_execution_time_label (const SpaceNode &snode, const bNode &node)
 
static char * named_attribute_tooltip (bContext *UNUSED(C), void *argN, const char *UNUSED(tip))
 
static NodeExtraInfoRow row_from_used_named_attribute (const Map< std::string, eNamedAttrUsage > &usage_by_attribute_name)
 
static std::optional< NodeExtraInfoRow > node_get_accessed_attributes_row (const SpaceNode &snode, const bNode &node)
 
static Vector< NodeExtraInfoRow > node_get_extra_info (const SpaceNode &snode, const bNode &node)
 
static void node_draw_extra_info_row (const bNode &node, uiBlock &block, const rctf &rect, const int row, const NodeExtraInfoRow &extra_info_row)
 
static void node_draw_extra_info_panel (const SpaceNode &snode, const bNode &node, uiBlock &block)
 
static void node_draw_basis (const bContext &C, const View2D &v2d, const SpaceNode &snode, bNodeTree &ntree, bNode &node, uiBlock &block, bNodeInstanceKey key)
 
static void node_draw_hidden (const bContext &C, const View2D &v2d, const SpaceNode &snode, bNodeTree &ntree, bNode &node, uiBlock &block)
 
int node_get_resize_cursor (NodeResizeDirection directions)
 
void node_set_cursor (wmWindow &win, SpaceNode &snode, const float2 &cursor)
 
static void count_multi_input_socket_links (bNodeTree &ntree, SpaceNode &snode)
 
static void frame_node_prepare_for_draw (bNode &node, Span< bNode * > nodes)
 
static void reroute_node_prepare_for_draw (bNode &node)
 
static void node_update_nodetree (const bContext &C, bNodeTree &ntree, Span< bNode * > nodes, Span< uiBlock * > blocks)
 
static void frame_node_draw_label (const bNodeTree &ntree, const bNode &node, const SpaceNode &snode)
 
static void frame_node_draw (const bContext &C, const ARegion &region, const SpaceNode &snode, bNodeTree &ntree, bNode &node, uiBlock &block)
 
static void reroute_node_draw (const bContext &C, ARegion &region, bNodeTree &ntree, bNode &node, uiBlock &block)
 
static void node_draw (const bContext &C, ARegion &region, const SpaceNode &snode, bNodeTree &ntree, bNode &node, uiBlock &block, bNodeInstanceKey key)
 
static void node_draw_nodetree (const bContext &C, ARegion &region, SpaceNode &snode, bNodeTree &ntree, Span< bNode * > nodes, Span< uiBlock * > blocks, bNodeInstanceKey parent_key)
 
static void draw_tree_path (const bContext &C, ARegion &region)
 
static void snode_setup_v2d (SpaceNode &snode, ARegion &region, const float2 &center)
 
static void draw_nodetree (const bContext &C, ARegion &region, bNodeTree &ntree, bNodeInstanceKey parent_key)
 
static void draw_background_color (const SpaceNode &snode)
 
void node_draw_space (const bContext &C, ARegion &region)
 
void snode_set_context (const bContext &C)
 
 BLI_STATIC_ASSERT (std::is_trivially_destructible_v< AttributeSearchData >, "")
 
static Vector< const GeometryAttributeInfo * > get_attribute_info_from_context (const bContext &C, AttributeSearchData &data)
 
static void attribute_search_update_fn (const bContext *C, void *arg, const char *str, uiSearchItems *items, const bool is_first)
 
static eCustomDataType data_type_in_attribute_input_node (const eCustomDataType type)
 
static void attribute_search_exec_fn (bContext *C, void *data_v, void *item_v)
 
void node_geometry_add_attribute_search_button (const bContext &UNUSED(C), const bNode &node, PointerRNA &socket_ptr, uiLayout &layout)
 
 ENUM_OPERATORS (NodeResizeDirection, NODE_RESIZE_LEFT)
 
float2 space_node_group_offset (const SpaceNode &snode)
 
void node_operatortypes ()
 
void node_keymap (wmKeyConfig *keyconf)
 
void NODE_OT_backimage_sample (wmOperatorType *ot)
 
void nodelink_batch_start (SpaceNode &snode)
 
int node_render_changed_exec (bContext *, wmOperator *)
 
void node_geometry_add_attribute_search_button (const bContext &C, const bNode &node, PointerRNA &socket_ptr, uiLayout &layout)
 
static bool has_workbench_in_texture_color (const wmWindowManager *wm, const Scene *scene, const Object *ob)
 
static bool node_link_item_compare (bNode *node, NodeLinkItem *item)
 
static void node_link_item_apply (bNodeTree *ntree, bNode *node, NodeLinkItem *item)
 
static void node_tag_recursive (bNode *node)
 
static void node_clear_recursive (bNode *node)
 
static void node_remove_linked (Main *bmain, bNodeTree *ntree, bNode *rem_node)
 
static void node_socket_disconnect (Main *bmain, bNodeTree *ntree, bNode *node_to, bNodeSocket *sock_to)
 
static void node_socket_remove (Main *bmain, bNodeTree *ntree, bNode *node_to, bNodeSocket *sock_to)
 
static void node_socket_add_replace (const bContext *C, bNodeTree *ntree, bNode *node_to, bNodeSocket *sock_to, int type, NodeLinkItem *item)
 
static Vector< NodeLinkItem > ui_node_link_items (NodeLinkArg *arg, int in_out, std::optional< NodeDeclaration > &r_node_decl)
 
static void ui_node_link (bContext *C, void *arg_p, void *event_p)
 
static void ui_node_sock_name (const bNodeTree *ntree, bNodeSocket *sock, char name[UI_MAX_NAME_STR])
 
static int ui_compatible_sockets (int typeA, int typeB)
 
static int ui_node_item_name_compare (const void *a, const void *b)
 
static bool ui_node_item_special_poll (const bNodeTree *UNUSED(ntree), const bNodeType *ntype)
 
static void ui_node_menu_column (NodeLinkArg *arg, int nclass, const char *cname)
 
static void node_menu_column_foreach_cb (void *calldata, int nclass, const char *name)
 
static void ui_template_node_link_menu (bContext *C, uiLayout *layout, void *but_p)
 
static void ui_node_draw_input (uiLayout *layout, bContext *C, bNodeTree *ntree, bNode *node, bNodeSocket *input, int depth)
 
static void ui_node_draw_node (uiLayout *layout, bContext *C, bNodeTree *ntree, bNode *node, int depth)
 
static void sample_apply (bContext *C, wmOperator *op, const wmEvent *event)
 
static void sample_exit (bContext *C, wmOperator *op)
 
static int sample_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int sample_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static void sample_cancel (bContext *C, wmOperator *op)
 
static SpaceLink * node_create (const ScrArea *UNUSED(area), const Scene *UNUSED(scene))
 
static void node_free (SpaceLink *sl)
 
static void node_init (struct wmWindowManager *UNUSED(wm), ScrArea *area)
 
static bool any_node_uses_id (const bNodeTree *ntree, const ID *id)
 
static void node_area_tag_recalc_auto_compositing (SpaceNode *snode, ScrArea *area)
 
static void node_area_tag_tree_recalc (SpaceNode *snode, ScrArea *area)
 
static void node_area_listener (const wmSpaceTypeListenerParams *params)
 
static void node_area_refresh (const struct bContext *C, ScrArea *area)
 
static SpaceLink * node_duplicate (SpaceLink *sl)
 
static void node_buttons_region_init (wmWindowManager *wm, ARegion *region)
 
static void node_buttons_region_draw (const bContext *C, ARegion *region)
 
static void node_toolbar_region_init (wmWindowManager *wm, ARegion *region)
 
static void node_toolbar_region_draw (const bContext *C, ARegion *region)
 
static void node_cursor (wmWindow *win, ScrArea *area, ARegion *region)
 
static void node_main_region_init (wmWindowManager *wm, ARegion *region)
 
static void node_main_region_draw (const bContext *C, ARegion *region)
 
static bool node_group_drop_poll (bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
 
static bool node_object_drop_poll (bContext *C, wmDrag *drag, const wmEvent *UNUSED(event))
 
static bool node_collection_drop_poll (bContext *C, wmDrag *drag, const wmEvent *UNUSED(event))
 
static bool node_ima_drop_poll (bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
 
static bool node_mask_drop_poll (bContext *UNUSED(C), wmDrag *drag, const wmEvent *UNUSED(event))
 
static void node_group_drop_copy (bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
 
static void node_id_drop_copy (bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
 
static void node_id_path_drop_copy (bContext *UNUSED(C), wmDrag *drag, wmDropBox *drop)
 
static void node_dropboxes ()
 
static void node_header_region_init (wmWindowManager *UNUSED(wm), ARegion *region)
 
static void node_header_region_draw (const bContext *C, ARegion *region)
 
static void node_region_listener (const wmRegionListenerParams *params)
 
static int node_context (const bContext *C, const char *member, bContextDataResult *result)
 
static void node_widgets ()
 
static void node_id_remap_cb (ID *old_id, ID *new_id, void *user_data)
 
static void node_id_remap (ScrArea *UNUSED(area), SpaceLink *slink, const struct IDRemapper *mappings)
 
static int node_space_subtype_get (ScrArea *area)
 
static void node_space_subtype_set (ScrArea *area, int value)
 
static void node_space_subtype_item_extend (bContext *C, EnumPropertyItem **item, int *totitem)
 
Init Draw Callbacks For All Tree Types

Only called on node initialization, once.

static void node_property_update_default (Main *bmain, Scene *UNUSED(scene), PointerRNA *ptr)
 
static void node_socket_template_properties_update (bNodeType *ntype, bNodeSocketTemplate *stemp)
 
static void node_template_properties_update (bNodeType *ntype)
 
static void node_socket_undefined_draw (bContext *UNUSED(C), uiLayout *layout, PointerRNA *UNUSED(ptr), PointerRNA *UNUSED(node_ptr), const char *UNUSED(text))
 
static void node_socket_undefined_draw_color (bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PointerRNA *UNUSED(node_ptr), float *r_color)
 
static void node_socket_undefined_interface_draw (bContext *UNUSED(C), uiLayout *layout, PointerRNA *UNUSED(ptr))
 
static void node_socket_undefined_interface_draw_color (bContext *UNUSED(C), PointerRNA *UNUSED(ptr), float *r_color)
 
Utilities
bNode * node_add_node (const bContext &C, const char *idname, int type, float locx, float locy)
 
Add Reroute Operator
static bool add_reroute_intersect_check (const bNodeLink &link, float mcoords[][2], int tot, float result[2])
 
static bNodeSocketLink * add_reroute_insert_socket_link (ListBase *lb, bNodeSocket *sock, bNodeLink *link, const float point[2])
 
static bNodeSocketLink * add_reroute_do_socket_section (bContext *C, bNodeSocketLink *socklink, int in_out)
 
static int add_reroute_exec (bContext *C, wmOperator *op)
 
void NODE_OT_add_reroute (wmOperatorType *ot)
 
Add Node Group Operator
static bNodeTree * node_add_group_get_and_poll_group_node_tree (Main *bmain, wmOperator *op, bNodeTree *ntree)
 
static int node_add_group_exec (bContext *C, wmOperator *op)
 
static bool node_add_group_poll (bContext *C)
 
static int node_add_group_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void NODE_OT_add_group (wmOperatorType *ot)
 
Add Node Object Operator
static int node_add_object_exec (bContext *C, wmOperator *op)
 
static int node_add_object_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool node_add_object_poll (bContext *C)
 
void NODE_OT_add_object (wmOperatorType *ot)
 
Add Node Collection Operator
static int node_add_collection_exec (bContext *C, wmOperator *op)
 
static int node_add_collection_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool node_add_collection_poll (bContext *C)
 
void NODE_OT_add_collection (wmOperatorType *ot)
 
Add File Node Operator
static bool node_add_file_poll (bContext *C)
 
static int node_add_file_exec (bContext *C, wmOperator *op)
 
static int node_add_file_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
void NODE_OT_add_file (wmOperatorType *ot)
 
Add Mask Node Operator
static bool node_add_mask_poll (bContext *C)
 
static int node_add_mask_exec (bContext *C, wmOperator *op)
 
void NODE_OT_add_mask (wmOperatorType *ot)
 
New Node Tree Operator
static int new_node_tree_exec (bContext *C, wmOperator *op)
 
static const EnumPropertyItem * new_node_tree_type_itemf (bContext *UNUSED(C), PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
 
void NODE_OT_new_node_tree (wmOperatorType *ot)
 
Composite Poll & Utility Functions
bool composite_node_active (bContext *C)
 
bool composite_node_editable (bContext *C)
 
static void send_notifiers_after_tree_change (ID *id, bNodeTree *ntree)
 
Node Generic
static bool socket_is_occluded (const bNodeSocket &sock, const bNode &node_the_socket_belongs_to, const SpaceNode &snode)
 
Node Size Widget Operator
static void node_resize_init (bContext *C, wmOperator *op, const float cursor[2], const bNode *node, NodeResizeDirection dir)
 
static void node_resize_exit (bContext *C, wmOperator *op, bool cancel)
 
static int node_resize_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int node_resize_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void node_resize_cancel (bContext *C, wmOperator *op)
 
void NODE_OT_resize (wmOperatorType *ot)
 
Node Hidden Sockets
bool node_has_hidden_sockets (bNode *node)
 
void node_set_hidden_sockets (SpaceNode *snode, bNode *node, int set)
 
static bool cursor_isect_multi_input_socket (const float cursor[2], const bNodeSocket &socket)
 
bool node_find_indicated_socket (SpaceNode &snode, bNode **nodep, bNodeSocket **sockp, const float2 &cursor, const eNodeSocketInOut in_out)
 
Node Link Dimming
float node_link_dim_factor (const View2D &v2d, const bNodeLink &link)
 
bool node_link_is_hidden_or_dimmed (const View2D &v2d, const bNodeLink &link)
 
Node Duplicate Operator
static void node_duplicate_reparent_recursive (const Map< const bNode *, bNode * > &node_map, bNode *node)
 
static int node_duplicate_exec (bContext *C, wmOperator *op)
 
void NODE_OT_duplicate (wmOperatorType *ot)
 
static bool node_select_check (const ListBase *lb)
 
void node_select_all (ListBase *lb, int action)
 
static int node_read_viewlayers_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_read_viewlayers (wmOperatorType *ot)
 
int node_render_changed_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_render_changed (wmOperatorType *ot)
 
Node Hide Operator
static void node_flag_toggle_exec (SpaceNode *snode, int toggle_flag)
 
static int node_hide_toggle_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_hide_toggle (wmOperatorType *ot)
 
static int node_preview_toggle_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_preview_toggle (wmOperatorType *ot)
 
static int node_options_toggle_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_options_toggle (wmOperatorType *ot)
 
static int node_socket_toggle_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_hide_socket_toggle (wmOperatorType *ot)
 
Node Mute Operator
static int node_mute_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_mute_toggle (wmOperatorType *ot)
 
Node Delete Operator
static int node_delete_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_delete (wmOperatorType *ot)
 
Node Switch View
static bool node_switch_view_poll (bContext *C)
 
static int node_switch_view_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_switch_view_update (wmOperatorType *ot)
 
Node Delete with Reconnect Operator
static int node_delete_reconnect_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_delete_reconnect (wmOperatorType *ot)
 
Node File Output Add Socket Operator
static int node_output_file_add_socket_exec (bContext *C, wmOperator *op)
 
void NODE_OT_output_file_add_socket (wmOperatorType *ot)
 
Node Multi File Output Remove Socket Operator
static int node_output_file_remove_active_socket_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_output_file_remove_active_socket (wmOperatorType *ot)
 
Node Multi File Output Move Socket Node
static int node_output_file_move_active_socket_exec (bContext *C, wmOperator *op)
 
void NODE_OT_output_file_move_active_socket (wmOperatorType *ot)
 
Node Copy Node Color Operator
static int node_copy_color_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_node_copy_color (wmOperatorType *ot)
 
Node Copy to Clipboard Operator
static int node_clipboard_copy_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_clipboard_copy (wmOperatorType *ot)
 
Node Paste from Clipboard
static int node_clipboard_paste_exec (bContext *C, wmOperator *op)
 
void NODE_OT_clipboard_paste (wmOperatorType *ot)
 
Node-Tree Add Interface Socket Operator
static bNodeSocket * ntree_get_active_interface_socket (ListBase *lb)
 
static int ntree_socket_add_exec (bContext *C, wmOperator *op)
 
void NODE_OT_tree_socket_add (wmOperatorType *ot)
 
Node-Tree Remove Interface Socket Operator
static int ntree_socket_remove_exec (bContext *C, wmOperator *op)
 
void NODE_OT_tree_socket_remove (wmOperatorType *ot)
 
Node-Tree Change Interface Socket Type Operator
static int ntree_socket_change_type_exec (bContext *C, wmOperator *op)
 
static bool socket_change_poll_type (void *userdata, bNodeSocketType *socket_type)
 
static const EnumPropertyItem * socket_change_type_itemf (bContext *C, PointerRNA *UNUSED(ptr), PropertyRNA *UNUSED(prop), bool *r_free)
 
void NODE_OT_tree_socket_change_type (wmOperatorType *ot)
 
Node Shader Script Update
static bool node_shader_script_update_poll (bContext *C)
 
static bool node_shader_script_update_text_recursive (RenderEngine *engine, RenderEngineType *type, bNodeTree *ntree, Text *text)
 
static int node_shader_script_update_exec (bContext *C, wmOperator *op)
 
void NODE_OT_shader_script_update (wmOperatorType *ot)
 
Node Viewer Border
static void viewer_border_corner_to_backdrop (SpaceNode *snode, ARegion *region, int x, int y, int backdrop_width, int backdrop_height, float *fx, float *fy)
 
static int viewer_border_exec (bContext *C, wmOperator *op)
 
void NODE_OT_viewer_border (wmOperatorType *ot)
 
static int clear_viewer_border_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_clear_viewer_border (wmOperatorType *ot)
 
Cryptomatte Add Socket
static int node_cryptomatte_add_socket_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_cryptomatte_layer_add (wmOperatorType *ot)
 
Cryptomatte Remove Socket
static int node_cryptomatte_remove_socket_exec (bContext *C, wmOperator *UNUSED(op))
 
void NODE_OT_cryptomatte_layer_remove (wmOperatorType *ot)
 
Local Utilities
static void node_gizmo_calc_matrix_space (const SpaceNode *snode, const ARegion *region, float matrix_space[4][4])
 
static void node_gizmo_calc_matrix_space_with_image_dims (const SpaceNode *snode, const ARegion *region, const float image_dims[2], float matrix_space[4][4])
 
static bool node_group_operator_active_poll (bContext *C)
 
static bool node_group_operator_editable (bContext *C)
 
static const char * group_ntree_idname (bContext *C)
 
const char * node_group_idname (bContext *C)
 
static bNode * node_group_get_active (bContext *C, const char *node_idname)
 
Backdrop Gizmo
static void gizmo_node_backdrop_prop_matrix_get (const wmGizmo *UNUSED(gz), wmGizmoProperty *gz_prop, void *value_p)
 
static void gizmo_node_backdrop_prop_matrix_set (const wmGizmo *UNUSED(gz), wmGizmoProperty *gz_prop, const void *value_p)
 
static bool WIDGETGROUP_node_transform_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void WIDGETGROUP_node_transform_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_transform_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void NODE_GGT_backdrop_transform (wmGizmoGroupType *gzgt)
 
Crop Gizmo
static void gizmo_node_crop_update (struct NodeCropWidgetGroup *crop_group)
 
static void two_xy_to_rect (const NodeTwoXYs *nxy, rctf *rect, const float dims[2], bool is_relative)
 
static void two_xy_from_rect (NodeTwoXYs *nxy, const rctf *rect, const float dims[2], bool is_relative)
 
static void gizmo_node_crop_prop_matrix_get (const wmGizmo *gz, wmGizmoProperty *gz_prop, void *value_p)
 
static void gizmo_node_crop_prop_matrix_set (const wmGizmo *gz, wmGizmoProperty *gz_prop, const void *value_p)
 
static bool WIDGETGROUP_node_crop_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void WIDGETGROUP_node_crop_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_crop_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_crop_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void NODE_GGT_backdrop_crop (wmGizmoGroupType *gzgt)
 
Sun Beams
static bool WIDGETGROUP_node_sbeam_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void WIDGETGROUP_node_sbeam_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_sbeam_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_sbeam_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void NODE_GGT_backdrop_sun_beams (wmGizmoGroupType *gzgt)
 
Corner Pin
static bool WIDGETGROUP_node_corner_pin_poll (const bContext *C, wmGizmoGroupType *UNUSED(gzgt))
 
static void WIDGETGROUP_node_corner_pin_setup (const bContext *UNUSED(C), wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_corner_pin_draw_prepare (const bContext *C, wmGizmoGroup *gzgroup)
 
static void WIDGETGROUP_node_corner_pin_refresh (const bContext *C, wmGizmoGroup *gzgroup)
 
void NODE_GGT_backdrop_corner_pin (wmGizmoGroupType *gzgt)
 
Edit Group Operator
static int node_group_edit_exec (bContext *C, wmOperator *op)
 
void NODE_OT_group_edit (wmOperatorType *ot)
 
Ungroup Operator
static AnimationBasePathChange * animation_basepath_change_new (const char *src_basepath, const char *dst_basepath)
 
static void animation_basepath_change_free (AnimationBasePathChange *basepath_change)
 
static bool node_group_ungroup (Main *bmain, bNodeTree *ntree, bNode *gnode)
 
static int node_group_ungroup_exec (bContext *C, wmOperator *op)
 
void NODE_OT_group_ungroup (wmOperatorType *ot)
 
Make Group Operator
static bool node_group_make_use_node (bNode &node, bNode *gnode)
 
static bool node_group_make_test_selected (bNodeTree &ntree, bNode *gnode, const char *ntree_idname, struct ReportList &reports)
 
static int node_get_selected_minmax (bNodeTree &ntree, bNode *gnode, float2 &min, float2 &max, bool use_size)
 
static void node_group_make_insert_selected (const bContext &C, bNodeTree &ntree, bNode *gnode)
 
static bNode * node_group_make_from_selected (const bContext &C, bNodeTree &ntree, const char *ntype, const char *ntreetype)
 
static int node_group_make_exec (bContext *C, wmOperator *op)
 
void NODE_OT_group_make (wmOperatorType *ot)
 
Group Insert Operator
static int node_group_insert_exec (bContext *C, wmOperator *op)
 
void NODE_OT_group_insert (wmOperatorType *ot)
 
Public Node Selection API
rctf node_frame_rect_inside (const bNode &node)
 
bool node_or_socket_isect_event (bContext *C, const wmEvent *event)
 
void node_deselect_all (SpaceNode &snode)
 
void node_socket_select (bNode *node, bNodeSocket &sock)
 
void node_socket_deselect (bNode *node, bNodeSocket &sock, bool deselect_node)
 
void node_deselect_all_input_sockets (SpaceNode &snode, bool deselect_nodes)
 
void node_deselect_all_output_sockets (SpaceNode &snode, bool deselect_nodes)
 
static bool is_event_over_node_or_socket (bContext *C, const wmEvent *event)
 
static bool node_frame_select_isect_mouse (bNode *node, const float2 &mouse)
 
static bNode * node_under_mouse_select (bNodeTree &ntree, int mx, int my)
 
static bNode * node_under_mouse_tweak (bNodeTree &ntree, const float2 &mouse)
 
static bool is_position_over_node_or_socket (SpaceNode &snode, const float2 &mouse)
 
static void node_socket_toggle (bNode *node, bNodeSocket &sock, bool deselect_node)
 
Select (Cursor Pick) Operator
void node_select_single (bContext &C, bNode &node)
 
void NODE_OT_select (wmOperatorType *ot)
 
static bool node_mouse_select (bContext *C, wmOperator *op, const int mval[2], struct SelectPick_Params *params)
 
static int node_select_exec (bContext *C, wmOperator *op)
 
static int node_select_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
(De)select All Operator
void NODE_OT_select_all (wmOperatorType *ot)
 
static int node_select_all_exec (bContext *C, wmOperator *op)
 
Select Linked To Operator
void NODE_OT_select_linked_to (wmOperatorType *ot)
 
static int node_select_linked_to_exec (bContext *C, wmOperator *UNUSED(op))
 
Select Linked From Operator
void NODE_OT_select_linked_from (wmOperatorType *ot)
 
static int node_select_linked_from_exec (bContext *C, wmOperator *UNUSED(op))
 
Box Select Operator
void NODE_OT_select_box (wmOperatorType *ot)
 
static int node_box_select_exec (bContext *C, wmOperator *op)
 
static int node_box_select_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
Circle Select Operator
void NODE_OT_select_circle (wmOperatorType *ot)
 
static int node_circleselect_exec (bContext *C, wmOperator *op)
 
Lasso Select Operator
void NODE_OT_select_lasso (wmOperatorType *ot)
 
static int node_lasso_select_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool do_lasso_select_node (bContext *C, const int mcoords[][2], const int mcoords_len, eSelectOp sel_op)
 
static int node_lasso_select_exec (bContext *C, wmOperator *op)
 
Select Same Type Step Operator
void NODE_OT_select_same_type_step (wmOperatorType *ot)
 
static int node_select_same_type_step_exec (bContext *C, wmOperator *op)
 
Find Node by Name Operator
void NODE_OT_find_node (wmOperatorType *ot)
 
static void node_find_create_label (const bNode *node, char *str, int maxlen)
 
static void node_find_update_fn (const struct bContext *C, void *UNUSED(arg), const char *str, uiSearchItems *items, const bool UNUSED(is_first))
 
static void node_find_exec_fn (struct bContext *C, void *UNUSED(arg1), void *arg2)
 
static uiBlock * node_find_menu (bContext *C, ARegion *region, void *arg_op)
 
static int node_find_node_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
View All Operator
bool space_node_view_flag (bContext &C, SpaceNode &snode, ARegion &region, int node_flag, int smooth_viewtx)
 
void NODE_OT_view_all (wmOperatorType *ot)
 
static int node_view_all_exec (bContext *C, wmOperator *op)
 
View Selected Operator
void NODE_OT_view_selected (wmOperatorType *ot)
 
static int node_view_selected_exec (bContext *C, wmOperator *op)
 
Background Image Operators
void NODE_OT_backimage_move (wmOperatorType *ot)
 
static int snode_bg_viewmove_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int snode_bg_viewmove_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void snode_bg_viewmove_cancel (bContext *UNUSED(C), wmOperator *op)
 
Background Image Zoom
void NODE_OT_backimage_zoom (wmOperatorType *ot)
 
static int backimage_zoom_exec (bContext *C, wmOperator *op)
 
Background Image Fit
void NODE_OT_backimage_fit (wmOperatorType *ot)
 
static int backimage_fit_exec (bContext *C, wmOperator *UNUSED(op))
 
Add Node
void sort_multi_input_socket_links (SpaceNode &snode, bNode &node, bNodeLink *drag_link, const float2 *cursor)
 
static bNodeLink * create_drag_link (bNode &node, bNodeSocket &sock)
 
static void pick_link (wmOperator &op, bNodeLinkDrag &nldrag, SpaceNode &snode, bNode *node, bNodeLink &link_to_pick)
 
static void pick_input_link_by_link_intersect (const bContext &C, wmOperator &op, bNodeLinkDrag &nldrag, const float2 &cursor)
 
static bool socket_is_available (bNodeTree *UNUSED(ntree), bNodeSocket *sock, const bool allow_used)
 
static bNodeSocket * best_socket_output (bNodeTree *ntree, bNode *node, bNodeSocket *sock_target, const bool allow_multiple)
 
static bNodeSocket * best_socket_input (bNodeTree *ntree, bNode *node, int num, int replace)
 
static bool snode_autoconnect_input (SpaceNode &snode, bNode *node_fr, bNodeSocket *sock_fr, bNode *node_to, bNodeSocket *sock_to, int replace)
 
static void snode_autoconnect (SpaceNode &snode, const bool allow_multiple, const bool replace)
 
Add Link Operator
void NODE_OT_link (wmOperatorType *ot)
 
static bool dragged_links_are_detached (const bNodeLinkDrag &nldrag)
 
static bool should_create_drag_link_search_menu (const bNodeTree &node_tree, const bNodeLinkDrag &nldrag)
 
static void draw_draglink_tooltip (const bContext *UNUSED(C), ARegion *UNUSED(region), void *arg)
 
static void draw_draglink_tooltip_activate (const ARegion &region, bNodeLinkDrag &nldrag)
 
static void draw_draglink_tooltip_deactivate (const ARegion &region, bNodeLinkDrag &nldrag)
 
static void node_link_update_header (bContext *C, bNodeLinkDrag *UNUSED(nldrag))
 
static int node_count_links (const bNodeTree &ntree, const bNodeSocket &socket)
 
static void node_remove_extra_links (SpaceNode &snode, bNodeLink &link)
 
static void node_link_exit (bContext &C, wmOperator &op, const bool apply_links)
 
static void node_link_find_socket (bContext &C, wmOperator &op, const float2 &cursor)
 
static int node_link_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static std::unique_ptr< bNodeLinkDrag > node_link_init (SpaceNode &snode, float2 cursor, const bool detach)
 
static int node_link_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static void node_link_cancel (bContext *C, wmOperator *op)
 
Make Link Operator
void NODE_OT_link_make (wmOperatorType *ot)
 
static int node_make_link_exec (bContext *C, wmOperator *op)
 
Cut Link Operator
void NODE_OT_links_cut (wmOperatorType *ot)
 
static int cut_links_exec (bContext *C, wmOperator *op)
 
Detach Links Operator
void NODE_OT_links_detach (wmOperatorType *ot)
 
static int detach_links_exec (bContext *C, wmOperator *UNUSED(op))
 
Mute Links Operator
void NODE_OT_links_mute (wmOperatorType *ot)
 
static int mute_links_exec (bContext *C, wmOperator *op)
 
Set Parent Operator
void NODE_OT_parent_set (wmOperatorType *ot)
 
static int node_parent_set_exec (bContext *C, wmOperator *UNUSED(op))
 
Join Nodes Operator
void NODE_OT_join (wmOperatorType *ot)
 
static void node_join_attach_recursive (bNode *node, bNode *frame)
 
static int node_join_exec (bContext *C, wmOperator *UNUSED(op))
 
Attach Operator
void NODE_OT_attach (wmOperatorType *ot)
 
static bNode * node_find_frame_to_attach (ARegion &region, const bNodeTree &ntree, const int mouse_xy[2])
 
static int node_attach_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *event)
 
Detach Operator
void NODE_OT_detach (wmOperatorType *ot)
 
static void node_detach_recursive (bNode *node)
 
static int node_detach_exec (bContext *C, wmOperator *UNUSED(op))
 
Link to Viewer Node Operator
void NODE_OT_link_viewer (wmOperatorType *ot)
 
static int node_active_link_viewer_exec (bContext *C, wmOperator *UNUSED(op))
 
static bool node_active_link_viewer_poll (bContext *C)
 
Node Insert Offset Operator
void NODE_OT_insert_offset (wmOperatorType *ot)
 
static int get_main_socket_priority (const bNodeSocket *socket)
 
static bNodeSocket * get_main_socket (bNodeTree &ntree, bNode &node, eNodeSocketInOut in_out)
 
static bool node_parents_offset_flag_enable_cb (bNode *parent, void *UNUSED(userdata))
 
static void node_offset_apply (bNode &node, const float offset_x)
 
static void node_parent_offset_apply (NodeInsertOfsData *data, bNode *parent, const float offset_x)
 
static bool node_link_insert_offset_frame_chain_cb (bNode *fromnode, bNode *tonode, void *userdata, const bool reversed)
 
static void node_link_insert_offset_frame_chains (const bNodeTree *ntree, const bNode *parent, NodeInsertOfsData *data, const bool reversed)
 
static bool node_link_insert_offset_chain_cb (bNode *fromnode, bNode *tonode, void *userdata, const bool reversed)
 
static void node_link_insert_offset_ntree (NodeInsertOfsData *iofsd, ARegion *region, const int mouse_xy[2], const bool right_alignment)
 
static int node_insert_offset_modal (bContext *C, wmOperator *UNUSED(op), const wmEvent *event)
 
static int node_insert_offset_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
Node Link Intersect
static bool node_links_intersect (bNodeLink &link, const float mcoords[][2], int tot)
 
Automatic Node Insert on Dragging
static bool ed_node_link_conditions (ScrArea *area, bool test, SpaceNode **r_snode, bNode **r_select)
 
Sample Backdrop Operator
static void sample_draw (const bContext *C, ARegion *region, void *arg_info)
 

Variables

static const float virtual_node_socket_color [4] = {0.2, 0.2, 0.2, 1.0}
 
static const float std_node_socket_colors [][4]
 
static float arrow_verts [3][2] = {{-1.0f, 1.0f}, {0.0f, 0.0f}, {-1.0f, -1.0f}}
 
static float arrow_expand_axis [3][2] = {{0.7071f, 0.7071f}, {M_SQRT2, 0.0f}, {0.7071f, -0.7071f}}
 
static float mute_verts [3][2] = {{0.7071f, 1.0f}, {0.7071f, 0.0f}, {0.7071f, -1.0f}}
 
static float mute_expand_axis [3][2] = {{1.0f, 0.0f}, {1.0f, 0.0f}, {1.0f, -0.0f}}
 
struct {
   GPUBatch *   blender::ed::space_node::batch
 
   GPUBatch *   blender::ed::space_node::batch_single
 
   GPUVertBuf *   blender::ed::space_node::inst_vbo
 
   uint   blender::ed::space_node::p0_id
 
   uint   blender::ed::space_node::p1_id
 
   uint   blender::ed::space_node::p2_id
 
   uint   blender::ed::space_node::p3_id
 
   uint   blender::ed::space_node::colid_id
 
   uint   blender::ed::space_node::muted_id
 
   uint   blender::ed::space_node::start_color_id
 
   uint   blender::ed::space_node::end_color_id
 
   uint   blender::ed::space_node::dim_factor_id
 
   uint   blender::ed::space_node::thickness_id
 
   uint   blender::ed::space_node::dash_factor_id
 
   uint   blender::ed::space_node::dash_alpha_id
 
   GPUVertBufRaw   blender::ed::space_node::p0_step
 
   GPUVertBufRaw   blender::ed::space_node::p1_step
 
   GPUVertBufRaw   blender::ed::space_node::p2_step
 
   GPUVertBufRaw   blender::ed::space_node::p3_step
 
   GPUVertBufRaw   blender::ed::space_node::colid_step
 
   GPUVertBufRaw   blender::ed::space_node::muted_step
 
   GPUVertBufRaw   blender::ed::space_node::start_color_step
 
   GPUVertBufRaw   blender::ed::space_node::end_color_step
 
   GPUVertBufRaw   blender::ed::space_node::dim_factor_step
 
   GPUVertBufRaw   blender::ed::space_node::thickness_step
 
   GPUVertBufRaw   blender::ed::space_node::dash_factor_step
 
   GPUVertBufRaw   blender::ed::space_node::dash_alpha_step
 
   uint   blender::ed::space_node::count
 
   bool   blender::ed::space_node::enabled
 
} g_batch_link
 
static const float virtual_node_socket_outline_color [4] = {0.5, 0.5, 0.5, 1.0}
 

Composite Job Manager

enum  { COM_RECALC_COMPOSITE = 1 , COM_RECALC_VIEWER = 2 }
 
float node_socket_calculate_height (const bNodeSocket &socket)
 
float2 node_link_calculate_multi_input_position (const float2 &socket_position, const int index, const int total_inputs)
 
static void compo_tag_output_nodes (bNodeTree *nodetree, int recalc_flags)
 
static int compo_get_recalc_flags (const bContext *C)
 
static int compo_breakjob (void *cjv)
 
static void compo_statsdrawjob (void *cjv, const char *UNUSED(str))
 
static void compo_redrawjob (void *cjv)
 
static void compo_freejob (void *cjv)
 
static void compo_initjob (void *cjv)
 
static void compo_updatejob (void *UNUSED(cjv))
 
static void compo_progressjob (void *cjv, float progress)
 
static void compo_startjob (void *cjv, short *stop, short *do_update, float *progress)
 
static void compo_canceljob (void *cjv)
 
static void compo_completejob (void *cjv)
 

Separate Operator

enum  eNodeGroupSeparateType { NODE_GS_COPY , NODE_GS_MOVE }
 
static const EnumPropertyItem node_group_separate_types []
 
static bool node_group_separate_selected (Main &bmain, bNodeTree &ntree, bNodeTree &ngroup, const float2 &offset, const bool make_copy)
 
static int node_group_separate_exec (bContext *C, wmOperator *op)
 
static int node_group_separate_invoke (bContext *C, wmOperator *UNUSED(op), const wmEvent *UNUSED(event))
 
void NODE_OT_group_separate (wmOperatorType *ot)
 

Select Grouped Operator

enum  { NODE_SELECT_GROUPED_TYPE = 0 , NODE_SELECT_GROUPED_COLOR = 1 , NODE_SELECT_GROUPED_PREFIX = 2 , NODE_SELECT_GROUPED_SUFIX = 3 }
 
void NODE_OT_select_grouped (wmOperatorType *ot)
 
static bool node_select_grouped_type (bNodeTree &node_tree, bNode &node_act)
 
static bool node_select_grouped_color (bNodeTree &node_tree, bNode &node_act)
 
static bool node_select_grouped_name (bNodeTree &node_tree, bNode &node_act, const bool from_right)
 
static int node_select_grouped_exec (bContext *C, wmOperator *op)
 

Node-Tree Move Interface Socket Operator

static const EnumPropertyItem move_direction_items []
 
static int ntree_socket_move_exec (bContext *C, wmOperator *op)
 
void NODE_OT_tree_socket_move (wmOperatorType *ot)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
COM_RECALC_COMPOSITE 
COM_RECALC_VIEWER 

Definition at line 74 of file node_edit.cc.

◆ anonymous enum

anonymous enum
Enumerator
NODE_SELECT_GROUPED_TYPE 
NODE_SELECT_GROUPED_COLOR 
NODE_SELECT_GROUPED_PREFIX 
NODE_SELECT_GROUPED_SUFIX 

Definition at line 393 of file node_select.cc.

◆ eNodeGroupSeparateType

Enumerator
NODE_GS_COPY 
NODE_GS_MOVE 

Definition at line 549 of file node_group.cc.

◆ NodeResizeDirection

Enumerator
NODE_RESIZE_NONE 
NODE_RESIZE_TOP 
NODE_RESIZE_BOTTOM 
NODE_RESIZE_RIGHT 
NODE_RESIZE_LEFT 

Definition at line 100 of file node_intern.hh.

Function Documentation

◆ add_existing_group_input_fn()

static void blender::ed::space_node::add_existing_group_input_fn ( nodes::LinkSearchOpParams &  params,
const bNodeSocket &  interface_socket 
)
static

◆ add_group_input_node_fn()

static void blender::ed::space_node::add_group_input_node_fn ( nodes::LinkSearchOpParams &  params)
static

◆ add_reroute_do_socket_section()

static bNodeSocketLink* blender::ed::space_node::add_reroute_do_socket_section ( bContext *  C,
bNodeSocketLink *  socklink,
int  in_out 
)
static

◆ add_reroute_exec()

static int blender::ed::space_node::add_reroute_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ add_reroute_insert_socket_link()

static bNodeSocketLink* blender::ed::space_node::add_reroute_insert_socket_link ( ListBase *  lb,
bNodeSocket *  sock,
bNodeLink *  link,
const float  point[2] 
)
static

◆ add_reroute_intersect_check()

static bool blender::ed::space_node::add_reroute_intersect_check ( const bNodeLink &  link,
float  mcoords[][2],
int  tot,
float  result[2] 
)
static

◆ add_reroute_node_fn()

static void blender::ed::space_node::add_reroute_node_fn ( nodes::LinkSearchOpParams &  params)
static

◆ animation_basepath_change_free()

static void blender::ed::space_node::animation_basepath_change_free ( AnimationBasePathChange *  basepath_change)
static

◆ animation_basepath_change_new()

static AnimationBasePathChange* blender::ed::space_node::animation_basepath_change_new ( const char *  src_basepath,
const char *  dst_basepath 
)
static

The given paths will be owned by the returned instance. Both pointers are allowed to point to the same string.

Definition at line 189 of file node_group.cc.

References AT, AnimationBasePathChange::dst_basepath, MEM_callocN, and AnimationBasePathChange::src_basepath.

Referenced by node_group_make_insert_selected(), node_group_separate_selected(), and node_group_ungroup().

◆ any_node_uses_id()

static bool blender::ed::space_node::any_node_uses_id ( const bNodeTree *  ntree,
const ID *  id 
)
static

Definition at line 314 of file space_node.cc.

References ELEM, LISTBASE_FOREACH, node, bNodeTree::nodes, and ntree.

Referenced by node_area_listener().

◆ attribute_search_exec_fn()

static void blender::ed::space_node::attribute_search_exec_fn ( bContext *  C,
void *  data_v,
void *  item_v 
)
static

◆ attribute_search_update_fn()

static void blender::ed::space_node::attribute_search_update_fn ( const bContext *  C,
void *  arg,
const char *  str,
uiSearchItems *  items,
const bool  is_first 
)
static

◆ backimage_fit_exec()

static int blender::ed::space_node::backimage_fit_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ backimage_zoom_exec()

static int blender::ed::space_node::backimage_zoom_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ best_socket_input()

static bNodeSocket* blender::ed::space_node::best_socket_input ( bNodeTree *  ntree,
bNode *  node,
int  num,
int  replace 
)
static

Definition at line 260 of file node_relationships.cc.

References Freestyle::a, LISTBASE_FOREACH, max_ii(), node, ntree, and socket_is_available().

Referenced by snode_autoconnect().

◆ best_socket_output()

static bNodeSocket* blender::ed::space_node::best_socket_output ( bNodeTree *  ntree,
bNode *  node,
bNodeSocket *  sock_target,
const bool  allow_multiple 
)
static

◆ BLI_STATIC_ASSERT()

blender::ed::space_node::BLI_STATIC_ASSERT ( std::is_trivially_destructible_v< AttributeSearchData >  ,
""   
)

◆ clear_viewer_border_exec()

static int blender::ed::space_node::clear_viewer_border_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ compare_nodes()

static bool blender::ed::space_node::compare_nodes ( const bNode *  a,
const bNode *  b 
)
static

Definition at line 159 of file node_draw.cc.

References Freestyle::a, usdtokens::b(), NODE_ACTIVE, NODE_BACKGROUND, and NODE_SELECT.

Referenced by node_sort().

◆ compo_breakjob()

static int blender::ed::space_node::compo_breakjob ( void *  cjv)
static

Definition at line 168 of file node_edit.cc.

References G, and blender::ed::space_node::CompoJob::stop.

Referenced by compo_startjob().

◆ compo_canceljob()

static void blender::ed::space_node::compo_canceljob ( void *  cjv)
static

◆ compo_completejob()

static void blender::ed::space_node::compo_completejob ( void *  cjv)
static

◆ compo_freejob()

static void blender::ed::space_node::compo_freejob ( void *  cjv)
static

◆ compo_get_recalc_flags()

static int blender::ed::space_node::compo_get_recalc_flags ( const bContext *  C)
static

◆ compo_initjob()

static void blender::ed::space_node::compo_initjob ( void *  cjv)
static

◆ compo_progressjob()

static void blender::ed::space_node::compo_progressjob ( void *  cjv,
float  progress 
)
static

Definition at line 241 of file node_edit.cc.

References blender::ed::space_node::CompoJob::progress.

Referenced by compo_startjob().

◆ compo_redrawjob()

static void blender::ed::space_node::compo_redrawjob ( void *  cjv)
static

Definition at line 189 of file node_edit.cc.

References blender::ed::space_node::CompoJob::do_update.

Referenced by compo_startjob().

◆ compo_startjob()

static void blender::ed::space_node::compo_startjob ( void *  cjv,
short *  stop,
short *  do_update,
float *  progress 
)
static

◆ compo_statsdrawjob()

static void blender::ed::space_node::compo_statsdrawjob ( void *  cjv,
const char *  UNUSEDstr 
)
static

Definition at line 181 of file node_edit.cc.

References blender::ed::space_node::CompoJob::do_update.

Referenced by compo_startjob().

◆ compo_tag_output_nodes()

static void blender::ed::space_node::compo_tag_output_nodes ( bNodeTree *  nodetree,
int  recalc_flags 
)
static

◆ compo_updatejob()

static void blender::ed::space_node::compo_updatejob ( void *  UNUSEDcjv)
static

Definition at line 236 of file node_edit.cc.

References NC_SCENE, ND_COMPO_RESULT, and WM_main_add_notifier().

Referenced by ED_node_composite_job().

◆ composite_node_active()

bool blender::ed::space_node::composite_node_active ( bContext *  C)

◆ composite_node_editable()

bool blender::ed::space_node::composite_node_editable ( bContext *  C)

◆ context_path_add_node_tree_and_node_groups()

static void blender::ed::space_node::context_path_add_node_tree_and_node_groups ( const SpaceNode &  snode,
Vector< ui::ContextPathItem > &  path,
const bool  skip_base = false 
)
static

◆ context_path_add_object_data()

static void blender::ed::space_node::context_path_add_object_data ( Vector< ui::ContextPathItem > &  path,
Object &  object 
)
static

◆ context_path_for_space_node()

Vector< ui::ContextPathItem > blender::ed::space_node::context_path_for_space_node ( const bContext &  C)

◆ count_multi_input_socket_links()

static void blender::ed::space_node::count_multi_input_socket_links ( bNodeTree &  ntree,
SpaceNode &  snode 
)
static

◆ create_drag_link()

static bNodeLink* blender::ed::space_node::create_drag_link ( bNode &  node,
bNodeSocket &  sock 
)
static

◆ create_inspection_string_for_generic_value()

static void blender::ed::space_node::create_inspection_string_for_generic_value ( const GPointer  value,
std::stringstream &  ss 
)
static

◆ create_inspection_string_for_geometry()

static void blender::ed::space_node::create_inspection_string_for_geometry ( const geo_log::GeometryValueLog &  value_log,
std::stringstream &  ss,
const nodes::decl::Geometry *  geometry 
)
static

◆ create_inspection_string_for_gfield()

static void blender::ed::space_node::create_inspection_string_for_gfield ( const geo_log::GFieldValueLog &  value_log,
std::stringstream &  ss 
)
static

◆ create_search_popup_block()

static uiBlock* blender::ed::space_node::create_search_popup_block ( bContext *  C,
ARegion *  region,
void *  arg_op 
)
static

◆ create_socket_inspection_string()

static std::optional<std::string> blender::ed::space_node::create_socket_inspection_string ( bContext *  C,
bNode &  node,
bNodeSocket &  socket 
)
static

◆ cursor_isect_multi_input_socket()

static bool blender::ed::space_node::cursor_isect_multi_input_socket ( const float  cursor[2],
const bNodeSocket &  socket 
)
static

◆ cut_links_exec()

static int blender::ed::space_node::cut_links_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ data_type_in_attribute_input_node()

static eCustomDataType blender::ed::space_node::data_type_in_attribute_input_node ( const eCustomDataType  type)
static

Some custom data types don't correspond to node types and therefore can't be used by the named attribute input node. Find the best option or fallback to float.

Definition at line 123 of file node_geometry_attribute_search.cc.

References CD_PROP_BOOL, CD_PROP_BYTE_COLOR, CD_PROP_COLOR, CD_PROP_FLOAT, CD_PROP_FLOAT2, CD_PROP_FLOAT3, CD_PROP_INT32, CD_PROP_INT8, CD_PROP_STRING, and type.

Referenced by attribute_search_exec_fn().

◆ detach_links_exec()

static int blender::ed::space_node::detach_links_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ do_lasso_select_node()

static bool blender::ed::space_node::do_lasso_select_node ( bContext *  C,
const int  mcoords[][2],
const int  mcoords_len,
eSelectOp  sel_op 
)
static

◆ dragged_links_are_detached()

static bool blender::ed::space_node::dragged_links_are_detached ( const bNodeLinkDrag &  nldrag)
static

Check if any of the dragged links are connected to a socket on the side that they are dragged from.

Definition at line 768 of file node_relationships.cc.

References bNodeLink::fromnode, bNodeLink::fromsock, blender::ed::space_node::bNodeLinkDrag::in_out, blender::ed::space_node::bNodeLinkDrag::links, SOCK_OUT, bNodeLink::tonode, and bNodeLink::tosock.

Referenced by should_create_drag_link_search_menu().

◆ draw_background_color()

static void blender::ed::space_node::draw_background_color ( const SpaceNode &  snode)
static

Make the background slightly brighter to indicate that users are inside a node-group.

Definition at line 3036 of file node_draw.cc.

References BLI_listbase_count_at_most(), color, GPU_clear_color(), max_ii(), mul_v3_fl(), TH_BACK, SpaceNode::treepath, and UI_GetThemeColor3fv().

Referenced by node_draw_space().

◆ draw_draglink_tooltip()

static void blender::ed::space_node::draw_draglink_tooltip ( const bContext *  UNUSEDC,
ARegion *  UNUSEDregion,
void *  arg 
)
static

◆ draw_draglink_tooltip_activate()

static void blender::ed::space_node::draw_draglink_tooltip_activate ( const ARegion &  region,
bNodeLinkDrag &  nldrag 
)
static

◆ draw_draglink_tooltip_deactivate()

static void blender::ed::space_node::draw_draglink_tooltip_deactivate ( const ARegion &  region,
bNodeLinkDrag &  nldrag 
)
static

◆ draw_nodespace_back_pix()

void blender::ed::space_node::draw_nodespace_back_pix ( const bContext &  C,
ARegion &  region,
SpaceNode &  snode,
bNodeInstanceKey  parent_key 
)

◆ draw_nodetree()

static void blender::ed::space_node::draw_nodetree ( const bContext &  C,
ARegion &  region,
bNodeTree &  ntree,
bNodeInstanceKey  parent_key 
)
static

◆ draw_tree_path()

static void blender::ed::space_node::draw_tree_path ( const bContext &  C,
ARegion &  region 
)
static

◆ ed_node_link_conditions()

static bool blender::ed::space_node::ed_node_link_conditions ( ScrArea *  area,
bool  test,
SpaceNode **  r_snode,
bNode **  r_select 
)
static

◆ ENUM_OPERATORS()

blender::ed::space_node::ENUM_OPERATORS ( NodeResizeDirection  ,
NODE_RESIZE_LEFT   
)

◆ frame_node_draw()

static void blender::ed::space_node::frame_node_draw ( const bContext &  C,
const ARegion &  region,
const SpaceNode &  snode,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block 
)
static

◆ frame_node_draw_label()

static void blender::ed::space_node::frame_node_draw_label ( const bNodeTree &  ntree,
const bNode &  node,
const SpaceNode &  snode 
)
static

◆ frame_node_prepare_for_draw()

static void blender::ed::space_node::frame_node_prepare_for_draw ( bNode &  node,
Span< bNode * >  nodes 
)
static

◆ gather_socket_link_operations()

static void blender::ed::space_node::gather_socket_link_operations ( bNodeTree &  node_tree,
const bNodeSocket &  socket,
Vector< SocketLinkOperation > &  search_link_ops 
)
static

Call the callback to gather compatible socket connections for all node types, and the operations that will actually make the connections. Also add some custom operations like connecting a group output node.

Definition at line 119 of file link_drag_search.cc.

References add_existing_group_input_fn(), add_group_input_node_fn(), add_reroute_node_fn(), blender::Vector< T, InlineBufferCapacity, Allocator >::append(), from, IFACE_, bNodeSocket::in_out, LIB_EMBEDDED_DATA, LISTBASE_FOREACH, NODE_TYPES_BEGIN, NODE_TYPES_END, params, SOCK_IN, bNodeSocket::type, and UI_MENU_ARROW_SEP.

Referenced by create_search_popup_block().

◆ get_attribute_info_from_context()

static Vector<const GeometryAttributeInfo *> blender::ed::space_node::get_attribute_info_from_context ( const bContext &  C,
AttributeSearchData &  data 
)
static

◆ get_context_path_node_compositor()

static void blender::ed::space_node::get_context_path_node_compositor ( const bContext &  C,
SpaceNode &  snode,
Vector< ui::ContextPathItem > &  path 
)
static

◆ get_context_path_node_geometry()

static void blender::ed::space_node::get_context_path_node_geometry ( const bContext &  C,
SpaceNode &  snode,
Vector< ui::ContextPathItem > &  path 
)
static

◆ get_context_path_node_shader()

static void blender::ed::space_node::get_context_path_node_shader ( const bContext &  C,
SpaceNode &  snode,
Vector< ui::ContextPathItem > &  path 
)
static

◆ get_exec_time_other_nodes()

static void blender::ed::space_node::get_exec_time_other_nodes ( const bNode &  node,
const SpaceNode &  snode,
std::chrono::microseconds &  exec_time,
int &  node_count 
)
static

◆ get_main_socket()

static bNodeSocket* blender::ed::space_node::get_main_socket ( bNodeTree &  ntree,
bNode &  node,
eNodeSocketInOut  in_out 
)
static

◆ get_main_socket_priority()

static int blender::ed::space_node::get_main_socket_priority ( const bNodeSocket *  socket)
static

◆ gizmo_node_backdrop_prop_matrix_get()

static void blender::ed::space_node::gizmo_node_backdrop_prop_matrix_get ( const wmGizmo *  UNUSEDgz,
wmGizmoProperty *  gz_prop,
void *  value_p 
)
static

◆ gizmo_node_backdrop_prop_matrix_set()

static void blender::ed::space_node::gizmo_node_backdrop_prop_matrix_set ( const wmGizmo *  UNUSEDgz,
wmGizmoProperty *  gz_prop,
const void *  value_p 
)
static

◆ gizmo_node_crop_prop_matrix_get()

static void blender::ed::space_node::gizmo_node_crop_prop_matrix_get ( const wmGizmo *  gz,
wmGizmoProperty *  gz_prop,
void *  value_p 
)
static

◆ gizmo_node_crop_prop_matrix_set()

static void blender::ed::space_node::gizmo_node_crop_prop_matrix_set ( const wmGizmo *  gz,
wmGizmoProperty *  gz_prop,
const void *  value_p 
)
static

◆ gizmo_node_crop_update()

static void blender::ed::space_node::gizmo_node_crop_update ( struct NodeCropWidgetGroup *  crop_group)
static

◆ group_ntree_idname()

static const char* blender::ed::space_node::group_ntree_idname ( bContext *  C)
static

Definition at line 92 of file node_group.cc.

References C, CTX_wm_space_node(), and SpaceNode::tree_idname.

Referenced by node_group_make_exec().

◆ has_workbench_in_texture_color()

static bool blender::ed::space_node::has_workbench_in_texture_color ( const wmWindowManager *  wm,
const Scene *  scene,
const Object *  ob 
)
static

Function to detect if there is a visible view3d that uses workbench in texture mode. This function is for fixing T76970 for Blender 2.83. The actual fix should add a mechanism in the depsgraph that can be used by the draw engines to check if they need to be redrawn.

We don't want to add these risky changes this close before releasing 2.83 without good testing hence this workaround. There are still cases were too many updates happen. For example when you have both a Cycles and workbench with textures viewport.

Definition at line 62 of file node_select.cc.

References blender::compositor::area(), bScreen::areabase, BKE_workspace_active_screen_get(), ED_view3d_has_workbench_in_texture_color(), if(), LISTBASE_FOREACH, scene, SPACE_VIEW3D, and wmWindowManager::windows.

Referenced by node_mouse_select(), and node_select_single().

◆ invoke_node_link_drag_add_menu()

void blender::ed::space_node::invoke_node_link_drag_add_menu ( bContext &  C,
bNode &  node,
bNodeSocket &  socket,
const float2 &  cursor 
)

Definition at line 300 of file link_drag_search.cc.

References C, create_search_popup_block(), node, and UI_popup_block_invoke_ex().

Referenced by node_link_modal().

◆ is_event_over_node_or_socket()

static bool blender::ed::space_node::is_event_over_node_or_socket ( bContext *  C,
const wmEvent *  event 
)
static

◆ is_position_over_node_or_socket()

static bool blender::ed::space_node::is_position_over_node_or_socket ( SpaceNode &  snode,
const float2 &  mouse 
)
static

◆ link_drag_search_exec_fn()

static void blender::ed::space_node::link_drag_search_exec_fn ( bContext *  C,
void *  arg1,
void *  arg2 
)
static

◆ link_drag_search_free_fn()

static void blender::ed::space_node::link_drag_search_free_fn ( void *  arg)
static

Definition at line 239 of file link_drag_search.cc.

Referenced by create_search_popup_block().

◆ link_drag_search_update_fn()

static void blender::ed::space_node::link_drag_search_update_fn ( const bContext *  UNUSEDC,
void *  arg,
const char *  str,
uiSearchItems *  items,
const bool  is_first 
)
static

◆ mute_links_exec()

static int blender::ed::space_node::mute_links_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ named_attribute_tooltip()

static char* blender::ed::space_node::named_attribute_tooltip ( bContext *  UNUSEDC,
void *  argN,
const char *  UNUSEDtip 
)
static

◆ new_node_tree_exec()

static int blender::ed::space_node::new_node_tree_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ new_node_tree_type_itemf()

static const EnumPropertyItem* blender::ed::space_node::new_node_tree_type_itemf ( bContext *  UNUSEDC,
PointerRNA *  UNUSEDptr,
PropertyRNA *  UNUSEDprop,
bool *  r_free 
)
static

Definition at line 857 of file node_add.cc.

References rna_node_tree_type_itemf().

Referenced by NODE_OT_new_node_tree().

◆ node_active_link_viewer_exec()

static int blender::ed::space_node::node_active_link_viewer_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_active_link_viewer_poll()

static bool blender::ed::space_node::node_active_link_viewer_poll ( bContext *  C)
static

◆ node_add_collection_exec()

static int blender::ed::space_node::node_add_collection_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_add_collection_invoke()

static int blender::ed::space_node::node_add_collection_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_add_collection_poll()

static bool blender::ed::space_node::node_add_collection_poll ( bContext *  C)
static

◆ node_add_error_message_button()

static void blender::ed::space_node::node_add_error_message_button ( const bContext &  C,
bNode &  node,
uiBlock &  block,
const rctf &  rect,
float &  icon_offset 
)
static

◆ node_add_file_exec()

static int blender::ed::space_node::node_add_file_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_add_file_invoke()

static int blender::ed::space_node::node_add_file_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_add_file_poll()

static bool blender::ed::space_node::node_add_file_poll ( bContext *  C)
static

◆ node_add_group_exec()

static int blender::ed::space_node::node_add_group_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_add_group_get_and_poll_group_node_tree()

static bNodeTree* blender::ed::space_node::node_add_group_get_and_poll_group_node_tree ( Main *  bmain,
wmOperator *  op,
bNodeTree *  ntree 
)
static

◆ node_add_group_invoke()

static int blender::ed::space_node::node_add_group_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_add_group_poll()

static bool blender::ed::space_node::node_add_group_poll ( bContext *  C)
static

◆ node_add_mask_exec()

static int blender::ed::space_node::node_add_mask_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_add_mask_poll()

static bool blender::ed::space_node::node_add_mask_poll ( bContext *  C)
static

◆ node_add_node()

bNode * blender::ed::space_node::node_add_node ( const bContext &  C,
const char *  idname,
int  type,
float  locx,
float  locy 
)

◆ node_add_object_exec()

static int blender::ed::space_node::node_add_object_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_add_object_invoke()

static int blender::ed::space_node::node_add_object_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_add_object_poll()

static bool blender::ed::space_node::node_add_object_poll ( bContext *  C)
static

◆ node_area_listener()

static void blender::ed::space_node::node_area_listener ( const wmSpaceTypeListenerParams *  params)
static

◆ node_area_refresh()

static void blender::ed::space_node::node_area_refresh ( const struct bContext *  C,
ScrArea *  area 
)
static

◆ node_area_tag_recalc_auto_compositing()

static void blender::ed::space_node::node_area_tag_recalc_auto_compositing ( SpaceNode *  snode,
ScrArea *  area 
)
static

Tag the space to recalculate the compositing tree using auto-compositing pipeline.

Will check the space to be using a compositing tree, and check whether auto-compositing is enabled. If the checks do not pass then the function has no affect.

Definition at line 333 of file space_node.cc.

References blender::compositor::area(), ED_area_tag_refresh(), ED_node_is_compositor(), SpaceNode::flag, blender::ed::space_node::SpaceNode_Runtime::recalc_auto_compositing, SpaceNode::runtime, and SNODE_AUTO_RENDER.

Referenced by node_area_listener().

◆ node_area_tag_tree_recalc()

static void blender::ed::space_node::node_area_tag_tree_recalc ( SpaceNode *  snode,
ScrArea *  area 
)
static

Tag the space to recalculate the current tree.

For all node trees this will do snode_set_context() which takes care of setting an active tree. This will be done in the area refresh callback.

For compositor tree this will additionally start of the compositor job.

Definition at line 353 of file space_node.cc.

References blender::compositor::area(), ED_area_tag_refresh(), ED_node_is_compositor(), blender::ed::space_node::SpaceNode_Runtime::recalc_regular_compositing, and SpaceNode::runtime.

Referenced by node_area_listener().

◆ node_attach_invoke()

static int blender::ed::space_node::node_attach_invoke ( bContext *  C,
wmOperator *  UNUSEDop,
const wmEvent *  event 
)
static

◆ node_box_select_exec()

static int blender::ed::space_node::node_box_select_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_box_select_invoke()

static int blender::ed::space_node::node_box_select_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_buts_colorramp()

static void blender::ed::space_node::node_buts_colorramp ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_combsep_color()

static void blender::ed::space_node::node_buts_combsep_color ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 217 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_shader_set_butfunc().

◆ node_buts_curvecol()

static void blender::ed::space_node::node_buts_curvecol ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_curvefloat()

static void blender::ed::space_node::node_buts_curvefloat ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 144 of file drawnode.cc.

References ptr, and uiTemplateCurveMapping().

Referenced by node_shader_set_butfunc().

◆ node_buts_curvevec()

static void blender::ed::space_node::node_buts_curvevec ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 139 of file drawnode.cc.

References ptr, and uiTemplateCurveMapping().

Referenced by node_shader_set_butfunc().

◆ node_buts_frame_ex()

static void blender::ed::space_node::node_buts_frame_ex ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 285 of file drawnode.cc.

References DEFAULT_FLAGS, IFACE_, ptr, and uiItemR().

Referenced by node_common_set_butfunc().

◆ node_buts_image_user()

static void blender::ed::space_node::node_buts_image_user ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr,
PointerRNA *  imaptr,
PointerRNA *  iuserptr,
const bool  show_layer_selection,
const bool  show_color_management 
)
static

◆ node_buts_image_views()

static void blender::ed::space_node::node_buts_image_views ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr,
PointerRNA *  imaptr 
)
static

◆ node_buts_math()

static void blender::ed::space_node::node_buts_math ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_mix_rgb()

static void blender::ed::space_node::node_buts_mix_rgb ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_normal()

static void blender::ed::space_node::node_buts_normal ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_output_shader()

static void blender::ed::space_node::node_buts_output_shader ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 453 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_shader_set_butfunc().

◆ node_buts_rgb()

static void blender::ed::space_node::node_buts_rgb ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_texture()

static void blender::ed::space_node::node_buts_texture ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_time()

static void blender::ed::space_node::node_buts_time ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buts_value()

static void blender::ed::space_node::node_buts_value ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_buttons_region_draw()

static void blender::ed::space_node::node_buttons_region_draw ( const bContext *  C,
ARegion *  region 
)
static

Definition at line 568 of file space_node.cc.

References C, and ED_region_panels().

Referenced by ED_spacetype_node().

◆ node_buttons_region_init()

static void blender::ed::space_node::node_buttons_region_init ( wmWindowManager *  wm,
ARegion *  region 
)
static

◆ node_circleselect_exec()

static int blender::ed::space_node::node_circleselect_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_clear_recursive()

static void blender::ed::space_node::node_clear_recursive ( bNode *  node)
static

Definition at line 104 of file node_templates.cc.

References input, node, and NODE_TEST.

Referenced by node_remove_linked().

◆ node_clipboard_copy_exec()

static int blender::ed::space_node::node_clipboard_copy_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_clipboard_paste_exec()

static int blender::ed::space_node::node_clipboard_paste_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_collection_drop_poll()

static bool blender::ed::space_node::node_collection_drop_poll ( bContext *  C,
wmDrag *  drag,
const wmEvent *  UNUSEDevent 
)
static

Definition at line 650 of file space_node.cc.

References C, ID_GR, UI_but_active_drop_name(), and WM_drag_is_ID_type().

Referenced by node_dropboxes().

◆ node_common_set_butfunc()

static void blender::ed::space_node::node_common_set_butfunc ( bNodeType *  ntype)
static

◆ node_composit_backdrop_boxmask()

static void blender::ed::space_node::node_composit_backdrop_boxmask ( SpaceNode *  snode,
ImBuf *  backdrop,
bNode *  node,
int  x,
int  y 
)
static

◆ node_composit_backdrop_ellipsemask()

static void blender::ed::space_node::node_composit_backdrop_ellipsemask ( SpaceNode *  snode,
ImBuf *  backdrop,
bNode *  node,
int  x,
int  y 
)
static

◆ node_composit_backdrop_viewer()

static void blender::ed::space_node::node_composit_backdrop_viewer ( SpaceNode *  snode,
ImBuf *  backdrop,
bNode *  node,
int  x,
int  y 
)
static

◆ node_composit_buts_combsep_color()

static void blender::ed::space_node::node_composit_buts_combsep_color ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_composit_buts_cryptomatte()

static void blender::ed::space_node::node_composit_buts_cryptomatte ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_composit_buts_cryptomatte_legacy()

static void blender::ed::space_node::node_composit_buts_cryptomatte_legacy ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_composit_buts_cryptomatte_legacy_ex()

static void blender::ed::space_node::node_composit_buts_cryptomatte_legacy_ex ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  UNUSEDptr 
)
static

Definition at line 749 of file drawnode.cc.

References IFACE_, and uiItemO().

Referenced by node_composit_set_butfunc().

◆ node_composit_buts_huecorrect()

static void blender::ed::space_node::node_composit_buts_huecorrect ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_composit_buts_image()

static void blender::ed::space_node::node_composit_buts_image ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_composit_buts_image_ex()

static void blender::ed::space_node::node_composit_buts_image_ex ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_composit_buts_ycc()

static void blender::ed::space_node::node_composit_buts_ycc ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 597 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_composit_set_butfunc().

◆ node_composit_set_butfunc()

static void blender::ed::space_node::node_composit_set_butfunc ( bNodeType *  ntype)
static

◆ node_context()

static int blender::ed::space_node::node_context ( const bContext *  C,
const char *  member,
bContextDataResult *  result 
)
static

◆ node_copy_color_exec()

static int blender::ed::space_node::node_copy_color_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_count_links()

static int blender::ed::space_node::node_count_links ( const bNodeTree &  ntree,
const bNodeSocket &  socket 
)
static

Definition at line 849 of file node_relationships.cc.

References count, ELEM, bNodeTree::links, LISTBASE_FOREACH, and ntree.

Referenced by node_remove_extra_links().

◆ node_create()

static SpaceLink* blender::ed::space_node::node_create ( const ScrArea *  UNUSEDarea,
const Scene *  UNUSEDscene 
)
static

◆ node_cryptomatte_add_socket_exec()

static int blender::ed::space_node::node_cryptomatte_add_socket_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_cryptomatte_remove_socket_exec()

static int blender::ed::space_node::node_cryptomatte_remove_socket_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_cursor()

static void blender::ed::space_node::node_cursor ( wmWindow *  win,
ScrArea *  area,
ARegion *  region 
)
static

◆ node_delete_exec()

static int blender::ed::space_node::node_delete_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_delete_reconnect_exec()

static int blender::ed::space_node::node_delete_reconnect_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_deselect_all()

void blender::ed::space_node::node_deselect_all ( SpaceNode &  snode)

◆ node_deselect_all_input_sockets()

void blender::ed::space_node::node_deselect_all_input_sockets ( SpaceNode &  snode,
bool  deselect_nodes 
)

Definition at line 257 of file node_select.cc.

References SpaceNode::edittree, LISTBASE_FOREACH, node, bNodeTree::nodes, and SELECT.

Referenced by node_make_link_exec().

◆ node_deselect_all_output_sockets()

void blender::ed::space_node::node_deselect_all_output_sockets ( SpaceNode &  snode,
bool  deselect_nodes 
)

Definition at line 287 of file node_select.cc.

References SpaceNode::edittree, LISTBASE_FOREACH, node, bNodeTree::nodes, and SELECT.

Referenced by node_make_link_exec().

◆ node_detach_exec()

static int blender::ed::space_node::node_detach_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_detach_recursive()

static void blender::ed::space_node::node_detach_recursive ( bNode *  node)
static

◆ node_draw()

static void blender::ed::space_node::node_draw ( const bContext &  C,
ARegion &  region,
const SpaceNode &  snode,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block,
bNodeInstanceKey  key 
)
static

◆ node_draw_basis()

static void blender::ed::space_node::node_draw_basis ( const bContext &  C,
const View2D &  v2d,
const SpaceNode &  snode,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block,
bNodeInstanceKey  key 
)
static

◆ node_draw_buttons_group()

static void blender::ed::space_node::node_draw_buttons_group ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

Definition at line 279 of file drawnode.cc.

References C, ptr, UI_TEMPLATE_ID_FILTER_ALL, and uiTemplateIDBrowse().

Referenced by node_common_set_butfunc().

◆ node_draw_extra_info_panel()

static void blender::ed::space_node::node_draw_extra_info_panel ( const SpaceNode &  snode,
const bNode &  node,
uiBlock &  block 
)
static

◆ node_draw_extra_info_row()

static void blender::ed::space_node::node_draw_extra_info_row ( const bNode &  node,
uiBlock &  block,
const rctf &  rect,
const int  row,
const NodeExtraInfoRow &  extra_info_row 
)
static

◆ node_draw_hidden()

static void blender::ed::space_node::node_draw_hidden ( const bContext &  C,
const View2D &  v2d,
const SpaceNode &  snode,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block 
)
static

◆ node_draw_link()

void blender::ed::space_node::node_draw_link ( const bContext &  C,
const View2D &  v2d,
const SpaceNode &  snode,
const bNodeLink &  link,
bool  selected 
)

◆ node_draw_link_bezier()

void blender::ed::space_node::node_draw_link_bezier ( const bContext &  C,
const View2D &  v2d,
const SpaceNode &  snode,
const bNodeLink &  link,
int  th_col1,
int  th_col2,
int  th_col3,
bool  selected 
)

◆ node_draw_mute_line()

static void blender::ed::space_node::node_draw_mute_line ( const bContext &  C,
const View2D &  v2d,
const SpaceNode &  snode,
const bNode &  node 
)
static

◆ node_draw_nodetree()

static void blender::ed::space_node::node_draw_nodetree ( const bContext &  C,
ARegion &  region,
SpaceNode &  snode,
bNodeTree &  ntree,
Span< bNode * >  nodes,
Span< uiBlock * >  blocks,
bNodeInstanceKey  parent_key 
)
static

◆ node_draw_preview()

static void blender::ed::space_node::node_draw_preview ( bNodePreview *  preview,
rctf *  prv 
)
static

◆ node_draw_preview_background()

static void blender::ed::space_node::node_draw_preview_background ( rctf *  rect)
static

◆ node_draw_shadow()

static void blender::ed::space_node::node_draw_shadow ( const SpaceNode &  snode,
const bNode &  node,
const float  radius,
const float  alpha 
)
static

◆ node_draw_sockets()

static void blender::ed::space_node::node_draw_sockets ( const View2D &  v2d,
const bContext &  C,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block,
const bool  draw_outputs,
const bool  select_all 
)
static

◆ node_draw_space()

void blender::ed::space_node::node_draw_space ( const bContext &  C,
ARegion &  region 
)

Definition at line 3054 of file node_draw.cc.

References BLI_strncpy(), C, center, copy_v2_v2(), CTX_wm_space_node(), CTX_wm_window(), blender::ed::space_node::SpaceNode_Runtime::cursor, bNodeTreePath::display_name, draw_background_color(), draw_nodespace_back_pix(), draw_nodetree(), draw_tree_path(), ED_annotation_draw_view2d(), ED_region_draw_cb_draw(), SpaceNode::edittree, wmWindow::eventstate, SpaceNodeOverlay::flag, SpaceNode::flag, ARegion::gizmo_map, GPU_blend(), GPU_BLEND_ALPHA, GPU_BLEND_NONE, GPU_DEPTH_NONE, GPU_depth_test(), GPU_framebuffer_bind_no_srgb(), GPU_line_smooth(), GPU_matrix_identity_set(), GPU_matrix_pop(), GPU_matrix_projection_get, GPU_matrix_projection_set, GPU_matrix_push(), GPU_scissor_test(), GPU_viewport_framebuffer_overlay_get(), bNodeTree::id, SpaceNode::id, ListBase::last, blender::ed::space_node::SpaceNode_Runtime::linkdrag, node_draw_link(), NODE_GRID_STEP_SIZE, NODE_INSTANCE_KEY_NONE, bNodeTreePath::nodetree, SpaceNode::nodetree, ntree, SpaceNode::overlay, bNodeTreePath::parent_key, REGION_DRAW_POST_VIEW, REGION_DRAW_PRE_VIEW, SpaceNode::runtime, SN_OVERLAY_SHOW_OVERLAYS, SN_OVERLAY_SHOW_PATH, snode_set_context(), snode_setup_v2d(), SNODE_SHOW_GPENCIL, SPACE_NODE, STREQ, TH_GRID, TH_NODE_GRID_LEVELS, SpaceNode::treepath, UI_DPI_FAC, UI_GetThemeValueType(), UI_view2d_center_get(), UI_view2d_dot_grid_draw(), UI_view2d_region_to_view(), UI_view2d_scrollers_draw(), UI_view2d_view_ortho(), UI_view2d_view_restore(), UNLIKELY, ARegion::v2d, bNodeTree::view_center, bNodeTreePath::view_center, ARegion::winrct, ARegion::winx, ARegion::winy, WM_draw_region_get_viewport(), WM_gizmomap_draw(), WM_GIZMOMAP_DRAWSTEP_2D, wmOrtho2_pixelspace(), rcti::xmin, wmEvent::xy, and rcti::ymin.

Referenced by node_main_region_draw().

◆ node_dropboxes()

static void blender::ed::space_node::node_dropboxes ( )
static

◆ node_duplicate()

static SpaceLink* blender::ed::space_node::node_duplicate ( SpaceLink *  sl)
static

Definition at line 540 of file space_node.cc.

References BLI_duplicatelist(), MEM_dupallocN, SpaceNode::runtime, and SpaceNode::treepath.

Referenced by ED_spacetype_node().

◆ node_duplicate_exec()

static int blender::ed::space_node::node_duplicate_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_duplicate_reparent_recursive()

static void blender::ed::space_node::node_duplicate_reparent_recursive ( const Map< const bNode *, bNode * > &  node_map,
bNode *  node 
)
static

◆ node_error_highest_priority()

static geo_log::NodeWarningType blender::ed::space_node::node_error_highest_priority ( Span< geo_log::NodeWarning >  warnings)
static

◆ node_error_type_priority()

static uint8_t blender::ed::space_node::node_error_type_priority ( const geo_log::NodeWarningType  type)
static

◆ node_error_type_to_icon()

static int blender::ed::space_node::node_error_type_to_icon ( const geo_log::NodeWarningType  type)
static

◆ node_errors_tooltip_fn()

static char* blender::ed::space_node::node_errors_tooltip_fn ( bContext *  UNUSEDC,
void *  argN,
const char *  UNUSEDtip 
)
static

Definition at line 1581 of file node_draw.cc.

References BLI_strdupn(), and data.

Referenced by node_add_error_message_button().

◆ node_file_output_socket_draw()

static void blender::ed::space_node::node_file_output_socket_draw ( bContext *  C,
uiLayout *  layout,
PointerRNA *  ptr,
PointerRNA *  node_ptr 
)
static

◆ node_find_create_label()

static void blender::ed::space_node::node_find_create_label ( const bNode *  node,
char *  str,
int  maxlen 
)
static

Definition at line 1290 of file node_select.cc.

References BLI_snprintf(), BLI_strncpy(), node, and str.

Referenced by node_find_update_fn().

◆ node_find_exec_fn()

static void blender::ed::space_node::node_find_exec_fn ( struct bContext *  C,
void *  UNUSEDarg1,
void *  arg2 
)
static

◆ node_find_frame_to_attach()

static bNode* blender::ed::space_node::node_find_frame_to_attach ( ARegion &  region,
const bNodeTree &  ntree,
const int  mouse_xy[2] 
)
static

◆ node_find_indicated_socket()

bool blender::ed::space_node::node_find_indicated_socket ( SpaceNode &  snode,
bNode **  nodep,
bNodeSocket **  sockp,
const float2 &  cursor,
eNodeSocketInOut  in_out 
)

◆ node_find_menu()

static uiBlock* blender::ed::space_node::node_find_menu ( bContext *  C,
ARegion *  region,
void *  arg_op 
)
static

◆ node_find_node_invoke()

static int blender::ed::space_node::node_find_node_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  UNUSEDevent 
)
static

Definition at line 1400 of file node_select.cc.

References C, node_find_menu(), OPERATOR_CANCELLED, and UI_popup_block_invoke().

Referenced by NODE_OT_find_node().

◆ node_find_update_fn()

static void blender::ed::space_node::node_find_update_fn ( const struct bContext *  C,
void *  UNUSEDarg,
const char *  str,
uiSearchItems *  items,
const bool   UNUSEDis_first 
)
static

◆ node_flag_toggle_exec()

static void blender::ed::space_node::node_flag_toggle_exec ( SpaceNode *  snode,
int  toggle_flag 
)
static

◆ node_frame_rect_inside()

rctf blender::ed::space_node::node_frame_rect_inside ( const bNode &  node)

◆ node_frame_select_isect_mouse()

static bool blender::ed::space_node::node_frame_select_isect_mouse ( bNode *  node,
const float2 &  mouse 
)
static

◆ node_free()

static void blender::ed::space_node::node_free ( SpaceLink *  sl)
static

◆ node_from_view()

float2 blender::ed::space_node::node_from_view ( const bNode &  node,
const float2 &  co 
)

Definition at line 302 of file node_draw.cc.

References node, nodeFromView(), result, UI_DPI_FAC, x, and y.

Referenced by frame_node_prepare_for_draw().

◆ node_geometry_add_attribute_search_button() [1/2]

void blender::ed::space_node::node_geometry_add_attribute_search_button ( const bContext &  C,
const bNode &  node,
PointerRNA &  socket_ptr,
uiLayout &  layout 
)

◆ node_geometry_add_attribute_search_button() [2/2]

void blender::ed::space_node::node_geometry_add_attribute_search_button ( const bContext &  UNUSEDC,
const bNode &  node,
PointerRNA &  socket_ptr,
uiLayout &  layout 
)

◆ node_get_accessed_attributes_row()

static std::optional<NodeExtraInfoRow> blender::ed::space_node::node_get_accessed_attributes_row ( const SpaceNode &  snode,
const bNode &  node 
)
static

◆ node_get_colorid()

static int blender::ed::space_node::node_get_colorid ( const bNode &  node)
static

◆ node_get_execution_time()

static std::chrono::microseconds blender::ed::space_node::node_get_execution_time ( const bNodeTree &  ntree,
const bNode &  node,
const SpaceNode &  snode,
int &  node_count 
)
static

◆ node_get_execution_time_label()

static std::string blender::ed::space_node::node_get_execution_time_label ( const SpaceNode &  snode,
const bNode &  node 
)
static

Definition at line 1714 of file node_draw.cc.

References SpaceNode::edittree, node, and node_get_execution_time().

Referenced by node_get_extra_info().

◆ node_get_extra_info()

static Vector<NodeExtraInfoRow> blender::ed::space_node::node_get_extra_info ( const SpaceNode &  snode,
const bNode &  node 
)
static

◆ node_get_resize_cursor()

int blender::ed::space_node::node_get_resize_cursor ( NodeResizeDirection  directions)

◆ node_get_resize_direction()

NodeResizeDirection blender::ed::space_node::node_get_resize_direction ( const bNode *  node,
const int  x,
const int  y 
)

◆ node_get_selected_minmax()

static int blender::ed::space_node::node_get_selected_minmax ( bNodeTree &  ntree,
bNode *  gnode,
float2 &  min,
float2 &  max,
bool  use_size 
)
static

◆ NODE_GGT_backdrop_corner_pin()

void blender::ed::space_node::NODE_GGT_backdrop_corner_pin ( wmGizmoGroupType *  gzgt)

◆ NODE_GGT_backdrop_crop()

void blender::ed::space_node::NODE_GGT_backdrop_crop ( wmGizmoGroupType *  gzgt)

◆ NODE_GGT_backdrop_sun_beams()

void blender::ed::space_node::NODE_GGT_backdrop_sun_beams ( wmGizmoGroupType *  gzgt)

◆ NODE_GGT_backdrop_transform()

void blender::ed::space_node::NODE_GGT_backdrop_transform ( wmGizmoGroupType *  gzgt)

◆ node_gizmo_calc_matrix_space()

static void blender::ed::space_node::node_gizmo_calc_matrix_space ( const SpaceNode *  snode,
const ARegion *  region,
float  matrix_space[4][4] 
)
static

◆ node_gizmo_calc_matrix_space_with_image_dims()

static void blender::ed::space_node::node_gizmo_calc_matrix_space_with_image_dims ( const SpaceNode *  snode,
const ARegion *  region,
const float  image_dims[2],
float  matrix_space[4][4] 
)
static

◆ node_group_drop_copy()

static void blender::ed::space_node::node_group_drop_copy ( bContext *  UNUSEDC,
wmDrag *  drag,
wmDropBox *  drop 
)
static

◆ node_group_drop_poll()

static bool blender::ed::space_node::node_group_drop_poll ( bContext *  UNUSEDC,
wmDrag *  drag,
const wmEvent *  UNUSEDevent 
)
static

Definition at line 640 of file space_node.cc.

References ID_NT, and WM_drag_is_ID_type().

Referenced by node_dropboxes().

◆ node_group_edit_exec()

static int blender::ed::space_node::node_group_edit_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_group_get_active()

static bNode* blender::ed::space_node::node_group_get_active ( bContext *  C,
const char *  node_idname 
)
static

◆ node_group_idname()

const char * blender::ed::space_node::node_group_idname ( bContext *  C)

◆ node_group_insert_exec()

static int blender::ed::space_node::node_group_insert_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_group_make_exec()

static int blender::ed::space_node::node_group_make_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_group_make_from_selected()

static bNode* blender::ed::space_node::node_group_make_from_selected ( const bContext &  C,
bNodeTree &  ntree,
const char *  ntype,
const char *  ntreetype 
)
static

◆ node_group_make_insert_selected()

static void blender::ed::space_node::node_group_make_insert_selected ( const bContext &  C,
bNodeTree &  ntree,
bNode *  gnode 
)
static

◆ node_group_make_test_selected()

static bool blender::ed::space_node::node_group_make_test_selected ( bNodeTree &  ntree,
bNode *  gnode,
const char *  ntree_idname,
struct ReportList &  reports 
)
static

◆ node_group_make_use_node()

static bool blender::ed::space_node::node_group_make_use_node ( bNode &  node,
bNode *  gnode 
)
static

◆ node_group_operator_active_poll()

static bool blender::ed::space_node::node_group_operator_active_poll ( bContext *  C)
static

◆ node_group_operator_editable()

static bool blender::ed::space_node::node_group_operator_editable ( bContext *  C)
static

◆ node_group_separate_exec()

static int blender::ed::space_node::node_group_separate_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_group_separate_invoke()

static int blender::ed::space_node::node_group_separate_invoke ( bContext *  C,
wmOperator *  UNUSEDop,
const wmEvent *  UNUSEDevent 
)
static

◆ node_group_separate_selected()

static bool blender::ed::space_node::node_group_separate_selected ( Main &  bmain,
bNodeTree &  ntree,
bNodeTree &  ngroup,
const float2 &  offset,
const bool  make_copy 
)
static

◆ node_group_ungroup()

static bool blender::ed::space_node::node_group_ungroup ( Main *  bmain,
bNodeTree *  ntree,
bNode *  gnode 
)
static

◆ node_group_ungroup_exec()

static int blender::ed::space_node::node_group_ungroup_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_has_hidden_sockets()

bool blender::ed::space_node::node_has_hidden_sockets ( bNode *  node)

Definition at line 1165 of file node_edit.cc.

References bNodeSocket::flag, LISTBASE_FOREACH, node, and SOCK_HIDDEN.

Referenced by node_socket_toggle_exec().

◆ node_header_region_draw()

static void blender::ed::space_node::node_header_region_draw ( const bContext *  C,
ARegion *  region 
)
static

Definition at line 742 of file space_node.cc.

References C, ED_region_header(), and snode_set_context().

Referenced by ED_spacetype_node().

◆ node_header_region_init()

static void blender::ed::space_node::node_header_region_init ( wmWindowManager *  UNUSEDwm,
ARegion *  region 
)
static

Definition at line 737 of file space_node.cc.

References ED_region_header_init().

Referenced by ED_spacetype_node().

◆ node_hide_toggle_exec()

static int blender::ed::space_node::node_hide_toggle_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_id_drop_copy()

static void blender::ed::space_node::node_id_drop_copy ( bContext *  UNUSEDC,
wmDrag *  drag,
wmDropBox *  drop 
)
static

◆ node_id_path_drop_copy()

static void blender::ed::space_node::node_id_path_drop_copy ( bContext *  UNUSEDC,
wmDrag *  drag,
wmDropBox *  drop 
)
static

◆ node_id_remap()

static void blender::ed::space_node::node_id_remap ( ScrArea *  UNUSEDarea,
SpaceLink *  slink,
const struct IDRemapper *  mappings 
)
static

Definition at line 974 of file space_node.cc.

References BKE_id_remapper_iter(), and node_id_remap_cb().

Referenced by ED_spacetype_node().

◆ node_id_remap_cb()

static void blender::ed::space_node::node_id_remap_cb ( ID *  old_id,
ID *  new_id,
void *  user_data 
)
static

◆ node_ima_drop_poll()

static bool blender::ed::space_node::node_ima_drop_poll ( bContext *  UNUSEDC,
wmDrag *  drag,
const wmEvent *  UNUSEDevent 
)
static

Definition at line 655 of file space_node.cc.

References ELEM, wmDrag::icon, ID_IM, wmDrag::type, WM_drag_is_ID_type(), and WM_DRAG_PATH.

Referenced by node_dropboxes().

◆ node_init()

static void blender::ed::space_node::node_init ( struct wmWindowManager *  UNUSEDwm,
ScrArea *  area 
)
static

Definition at line 305 of file space_node.cc.

References blender::compositor::area(), if(), and SpaceNode::runtime.

Referenced by ED_spacetype_node().

◆ node_insert_offset_invoke()

static int blender::ed::space_node::node_insert_offset_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_insert_offset_modal()

static int blender::ed::space_node::node_insert_offset_modal ( bContext *  C,
wmOperator *  UNUSEDop,
const wmEvent *  event 
)
static

◆ node_join_attach_recursive()

static void blender::ed::space_node::node_join_attach_recursive ( bNode *  node,
bNode *  frame 
)
static

◆ node_join_exec()

static int blender::ed::space_node::node_join_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_keymap()

void blender::ed::space_node::node_keymap ( wmKeyConfig *  keyconf)

Definition at line 114 of file node_ops.cc.

References SPACE_NODE, and WM_keymap_ensure().

Referenced by ED_spacetype_node().

◆ node_lasso_select_exec()

static int blender::ed::space_node::node_lasso_select_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_lasso_select_invoke()

static int blender::ed::space_node::node_lasso_select_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_link_bezier_handles()

bool blender::ed::space_node::node_link_bezier_handles ( const View2D *  v2d,
const SpaceNode *  snode,
const bNodeLink &  ink,
float  vec[4][2] 
)

◆ node_link_bezier_points()

bool blender::ed::space_node::node_link_bezier_points ( const View2D *  v2d,
const SpaceNode *  snode,
const bNodeLink &  link,
float  coord_array[][2],
int  resol 
)

If v2d not nullptr, it clips and returns 0 if not visible.

Definition at line 1665 of file drawnode.cc.

References BKE_curve_forward_diff_bezier(), and node_link_bezier_handles().

Referenced by add_reroute_intersect_check(), ED_node_link_intersect_test(), and node_links_intersect().

◆ node_link_calculate_multi_input_position()

float2 blender::ed::space_node::node_link_calculate_multi_input_position ( const float2 &  socket_position,
const int  index,
const int  total_inputs 
)

◆ node_link_cancel()

static void blender::ed::space_node::node_link_cancel ( bContext *  C,
wmOperator *  op 
)
static

◆ node_link_dim_factor()

float blender::ed::space_node::node_link_dim_factor ( const View2D &  v2d,
const bNodeLink &  link 
)

◆ node_link_exit()

static void blender::ed::space_node::node_link_exit ( bContext &  C,
wmOperator &  op,
const bool  apply_links 
)
static

◆ node_link_find_socket()

static void blender::ed::space_node::node_link_find_socket ( bContext &  C,
wmOperator &  op,
const float2 &  cursor 
)
static

◆ node_link_init()

static std::unique_ptr<bNodeLinkDrag> blender::ed::space_node::node_link_init ( SpaceNode &  snode,
float2  cursor,
const bool  detach 
)
static

◆ node_link_insert_offset_chain_cb()

static bool blender::ed::space_node::node_link_insert_offset_chain_cb ( bNode *  fromnode,
bNode *  tonode,
void *  userdata,
const bool  reversed 
)
static

Callback that applies NodeInsertOfsData.offset_x to a node or its parent, considering the logic needed for offsetting nodes after link insert

Definition at line 2181 of file node_relationships.cc.

References data, bNode::flag, node, node_link_insert_offset_frame_chains(), node_offset_apply(), node_parent_offset_apply(), NODE_TEST, nodeFindRootParent(), nodeIsChildOf(), and bNode::parent.

Referenced by node_link_insert_offset_ntree().

◆ node_link_insert_offset_frame_chain_cb()

static bool blender::ed::space_node::node_link_insert_offset_frame_chain_cb ( bNode *  fromnode,
bNode *  tonode,
void *  userdata,
const bool  reversed 
)
static

Callback that applies NodeInsertOfsData.offset_x to a node or its parent, similar to node_link_insert_offset_output_chain_cb below, but with slightly different logic

Definition at line 2144 of file node_relationships.cc.

References data, node_offset_apply(), and bNode::parent.

Referenced by node_link_insert_offset_frame_chains().

◆ node_link_insert_offset_frame_chains()

static void blender::ed::space_node::node_link_insert_offset_frame_chains ( const bNodeTree *  ntree,
const bNode *  parent,
NodeInsertOfsData *  data,
const bool  reversed 
)
static

◆ node_link_insert_offset_ntree()

static void blender::ed::space_node::node_link_insert_offset_ntree ( NodeInsertOfsData *  iofsd,
ARegion *  region,
const int  mouse_xy[2],
const bool  right_alignment 
)
static

◆ node_link_invoke()

static int blender::ed::space_node::node_link_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_link_is_hidden_or_dimmed()

bool blender::ed::space_node::node_link_is_hidden_or_dimmed ( const View2D &  v2d,
const bNodeLink &  link 
)

◆ node_link_item_apply()

static void blender::ed::space_node::node_link_item_apply ( bNodeTree *  ntree,
bNode *  node,
NodeLinkItem *  item 
)
static

◆ node_link_item_compare()

static bool blender::ed::space_node::node_link_item_compare ( bNode *  node,
NodeLinkItem *  item 
)
static

◆ node_link_modal()

static int blender::ed::space_node::node_link_modal ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_link_update_header()

static void blender::ed::space_node::node_link_update_header ( bContext *  C,
bNodeLinkDrag *  UNUSEDnldrag 
)
static

Definition at line 841 of file node_relationships.cc.

References BLI_strncpy(), C, ED_workspace_status_text(), TIP_, and UI_MAX_DRAW_STR.

Referenced by node_link_modal().

◆ node_links_intersect()

static bool blender::ed::space_node::node_links_intersect ( bNodeLink &  link,
const float  mcoords[][2],
int  tot 
)
static

◆ node_main_region_draw()

static void blender::ed::space_node::node_main_region_draw ( const bContext *  C,
ARegion *  region 
)
static

Definition at line 633 of file space_node.cc.

References C, and node_draw_space().

Referenced by ED_spacetype_node().

◆ node_main_region_init()

static void blender::ed::space_node::node_main_region_init ( wmWindowManager *  wm,
ARegion *  region 
)
static

◆ node_make_link_exec()

static int blender::ed::space_node::node_make_link_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_mask_drop_poll()

static bool blender::ed::space_node::node_mask_drop_poll ( bContext *  UNUSEDC,
wmDrag *  drag,
const wmEvent *  UNUSEDevent 
)
static

Definition at line 664 of file space_node.cc.

References ID_MSK, and WM_drag_is_ID_type().

Referenced by node_dropboxes().

◆ node_menu_column_foreach_cb()

static void blender::ed::space_node::node_menu_column_foreach_cb ( void *  calldata,
int  nclass,
const char *  name 
)
static

◆ node_mouse_select()

static bool blender::ed::space_node::node_mouse_select ( bContext *  C,
wmOperator *  op,
const int  mval[2],
struct SelectPick_Params *  params 
)
static

◆ node_mute_exec()

static int blender::ed::space_node::node_mute_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_object_drop_poll()

static bool blender::ed::space_node::node_object_drop_poll ( bContext *  C,
wmDrag *  drag,
const wmEvent *  UNUSEDevent 
)
static

Definition at line 645 of file space_node.cc.

References C, ID_OB, UI_but_active_drop_name(), and WM_drag_is_ID_type().

Referenced by node_dropboxes().

◆ node_offset_apply()

static void blender::ed::space_node::node_offset_apply ( bNode &  node,
const float  offset_x 
)
static

◆ node_operatortypes()

void blender::ed::space_node::node_operatortypes ( )

Definition at line 24 of file node_ops.cc.

References NODE_OT_add_collection(), NODE_OT_add_file(), NODE_OT_add_group(), NODE_OT_add_mask(), NODE_OT_add_object(), NODE_OT_add_reroute(), NODE_OT_attach(), NODE_OT_backimage_fit(), NODE_OT_backimage_move(), NODE_OT_backimage_sample(), NODE_OT_backimage_zoom(), NODE_OT_clear_viewer_border(), NODE_OT_clipboard_copy(), NODE_OT_clipboard_paste(), NODE_OT_cryptomatte_layer_add(), NODE_OT_cryptomatte_layer_remove(), NODE_OT_delete(), NODE_OT_delete_reconnect(), NODE_OT_detach(), NODE_OT_duplicate(), NODE_OT_find_node(), NODE_OT_group_edit(), NODE_OT_group_insert(), NODE_OT_group_make(), NODE_OT_group_separate(), NODE_OT_group_ungroup(), NODE_OT_hide_socket_toggle(), NODE_OT_hide_toggle(), NODE_OT_insert_offset(), NODE_OT_join(), NODE_OT_link(), NODE_OT_link_make(), NODE_OT_link_viewer(), NODE_OT_links_cut(), NODE_OT_links_detach(), NODE_OT_links_mute(), NODE_OT_mute_toggle(), NODE_OT_new_node_tree(), NODE_OT_node_copy_color(), NODE_OT_options_toggle(), NODE_OT_output_file_add_socket(), NODE_OT_output_file_move_active_socket(), NODE_OT_output_file_remove_active_socket(), NODE_OT_parent_set(), NODE_OT_preview_toggle(), NODE_OT_read_viewlayers(), NODE_OT_render_changed(), NODE_OT_resize(), NODE_OT_select(), NODE_OT_select_all(), NODE_OT_select_box(), NODE_OT_select_circle(), NODE_OT_select_grouped(), NODE_OT_select_lasso(), NODE_OT_select_linked_from(), NODE_OT_select_linked_to(), NODE_OT_select_same_type_step(), NODE_OT_shader_script_update(), NODE_OT_switch_view_update(), NODE_OT_tree_socket_add(), NODE_OT_tree_socket_change_type(), NODE_OT_tree_socket_move(), NODE_OT_tree_socket_remove(), NODE_OT_view_all(), NODE_OT_view_selected(), NODE_OT_viewer_border(), and WM_operatortype_append().

Referenced by ED_spacetype_node().

◆ node_options_toggle_exec()

static int blender::ed::space_node::node_options_toggle_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_or_socket_isect_event()

bool blender::ed::space_node::node_or_socket_isect_event ( bContext *  C,
const wmEvent *  event 
)

Definition at line 103 of file node_select.cc.

References C, and is_event_over_node_or_socket().

Referenced by sample_invoke().

◆ NODE_OT_add_collection()

void blender::ed::space_node::NODE_OT_add_collection ( wmOperatorType *  ot)

◆ NODE_OT_add_file()

void blender::ed::space_node::NODE_OT_add_file ( wmOperatorType *  ot)

◆ NODE_OT_add_group()

void blender::ed::space_node::NODE_OT_add_group ( wmOperatorType *  ot)

◆ NODE_OT_add_mask()

void blender::ed::space_node::NODE_OT_add_mask ( wmOperatorType *  ot)

◆ NODE_OT_add_object()

void blender::ed::space_node::NODE_OT_add_object ( wmOperatorType *  ot)

◆ NODE_OT_add_reroute()

void blender::ed::space_node::NODE_OT_add_reroute ( wmOperatorType *  ot)

◆ NODE_OT_attach()

void blender::ed::space_node::NODE_OT_attach ( wmOperatorType *  ot)

◆ NODE_OT_backimage_fit()

void blender::ed::space_node::NODE_OT_backimage_fit ( wmOperatorType *  ot)

◆ NODE_OT_backimage_move()

void blender::ed::space_node::NODE_OT_backimage_move ( wmOperatorType *  ot)

◆ NODE_OT_backimage_sample()

void blender::ed::space_node::NODE_OT_backimage_sample ( wmOperatorType *  ot)

◆ NODE_OT_backimage_zoom()

void blender::ed::space_node::NODE_OT_backimage_zoom ( wmOperatorType *  ot)

◆ NODE_OT_clear_viewer_border()

void blender::ed::space_node::NODE_OT_clear_viewer_border ( wmOperatorType *  ot)

◆ NODE_OT_clipboard_copy()

void blender::ed::space_node::NODE_OT_clipboard_copy ( wmOperatorType *  ot)

◆ NODE_OT_clipboard_paste()

void blender::ed::space_node::NODE_OT_clipboard_paste ( wmOperatorType *  ot)

◆ NODE_OT_cryptomatte_layer_add()

void blender::ed::space_node::NODE_OT_cryptomatte_layer_add ( wmOperatorType *  ot)

◆ NODE_OT_cryptomatte_layer_remove()

void blender::ed::space_node::NODE_OT_cryptomatte_layer_remove ( wmOperatorType *  ot)

◆ NODE_OT_delete()

void blender::ed::space_node::NODE_OT_delete ( wmOperatorType *  ot)

◆ NODE_OT_delete_reconnect()

void blender::ed::space_node::NODE_OT_delete_reconnect ( wmOperatorType *  ot)

◆ NODE_OT_detach()

void blender::ed::space_node::NODE_OT_detach ( wmOperatorType *  ot)

◆ NODE_OT_duplicate()

void blender::ed::space_node::NODE_OT_duplicate ( wmOperatorType *  ot)

◆ NODE_OT_find_node()

void blender::ed::space_node::NODE_OT_find_node ( wmOperatorType *  ot)

◆ NODE_OT_group_edit()

void blender::ed::space_node::NODE_OT_group_edit ( wmOperatorType *  ot)

◆ NODE_OT_group_insert()

void blender::ed::space_node::NODE_OT_group_insert ( wmOperatorType *  ot)

◆ NODE_OT_group_make()

void blender::ed::space_node::NODE_OT_group_make ( wmOperatorType *  ot)

◆ NODE_OT_group_separate()

void blender::ed::space_node::NODE_OT_group_separate ( wmOperatorType *  ot)

◆ NODE_OT_group_ungroup()

void blender::ed::space_node::NODE_OT_group_ungroup ( wmOperatorType *  ot)

◆ NODE_OT_hide_socket_toggle()

void blender::ed::space_node::NODE_OT_hide_socket_toggle ( wmOperatorType *  ot)

◆ NODE_OT_hide_toggle()

void blender::ed::space_node::NODE_OT_hide_toggle ( wmOperatorType *  ot)

◆ NODE_OT_insert_offset()

void blender::ed::space_node::NODE_OT_insert_offset ( wmOperatorType *  ot)

◆ NODE_OT_join()

void blender::ed::space_node::NODE_OT_join ( wmOperatorType *  ot)

◆ NODE_OT_link()

void blender::ed::space_node::NODE_OT_link ( wmOperatorType *  ot)

◆ NODE_OT_link_make()

void blender::ed::space_node::NODE_OT_link_make ( wmOperatorType *  ot)

◆ NODE_OT_link_viewer()

void blender::ed::space_node::NODE_OT_link_viewer ( wmOperatorType *  ot)

◆ NODE_OT_links_cut()

void blender::ed::space_node::NODE_OT_links_cut ( wmOperatorType *  ot)

◆ NODE_OT_links_detach()

void blender::ed::space_node::NODE_OT_links_detach ( wmOperatorType *  ot)

◆ NODE_OT_links_mute()

void blender::ed::space_node::NODE_OT_links_mute ( wmOperatorType *  ot)

◆ NODE_OT_mute_toggle()

void blender::ed::space_node::NODE_OT_mute_toggle ( wmOperatorType *  ot)

◆ NODE_OT_new_node_tree()

void blender::ed::space_node::NODE_OT_new_node_tree ( wmOperatorType *  ot)

◆ NODE_OT_node_copy_color()

void blender::ed::space_node::NODE_OT_node_copy_color ( wmOperatorType *  ot)

◆ NODE_OT_options_toggle()

void blender::ed::space_node::NODE_OT_options_toggle ( wmOperatorType *  ot)

◆ NODE_OT_output_file_add_socket()

void blender::ed::space_node::NODE_OT_output_file_add_socket ( wmOperatorType *  ot)

◆ NODE_OT_output_file_move_active_socket()

void blender::ed::space_node::NODE_OT_output_file_move_active_socket ( wmOperatorType *  ot)

◆ NODE_OT_output_file_remove_active_socket()

void blender::ed::space_node::NODE_OT_output_file_remove_active_socket ( wmOperatorType *  ot)

◆ NODE_OT_parent_set()

void blender::ed::space_node::NODE_OT_parent_set ( wmOperatorType *  ot)

◆ NODE_OT_preview_toggle()

void blender::ed::space_node::NODE_OT_preview_toggle ( wmOperatorType *  ot)

◆ NODE_OT_read_viewlayers()

void blender::ed::space_node::NODE_OT_read_viewlayers ( wmOperatorType *  ot)

◆ NODE_OT_render_changed()

void blender::ed::space_node::NODE_OT_render_changed ( wmOperatorType *  ot)

◆ NODE_OT_resize()

void blender::ed::space_node::NODE_OT_resize ( wmOperatorType *  ot)

◆ NODE_OT_select()

void blender::ed::space_node::NODE_OT_select ( wmOperatorType *  ot)

◆ NODE_OT_select_all()

void blender::ed::space_node::NODE_OT_select_all ( wmOperatorType *  ot)

◆ NODE_OT_select_box()

void blender::ed::space_node::NODE_OT_select_box ( wmOperatorType *  ot)

◆ NODE_OT_select_circle()

void blender::ed::space_node::NODE_OT_select_circle ( wmOperatorType *  ot)

◆ NODE_OT_select_grouped()

void blender::ed::space_node::NODE_OT_select_grouped ( wmOperatorType *  ot)

◆ NODE_OT_select_lasso()

void blender::ed::space_node::NODE_OT_select_lasso ( wmOperatorType *  ot)

◆ NODE_OT_select_linked_from()

void blender::ed::space_node::NODE_OT_select_linked_from ( wmOperatorType *  ot)

◆ NODE_OT_select_linked_to()

void blender::ed::space_node::NODE_OT_select_linked_to ( wmOperatorType *  ot)

◆ NODE_OT_select_same_type_step()

void blender::ed::space_node::NODE_OT_select_same_type_step ( wmOperatorType *  ot)

◆ NODE_OT_shader_script_update()

void blender::ed::space_node::NODE_OT_shader_script_update ( wmOperatorType *  ot)

◆ NODE_OT_switch_view_update()

void blender::ed::space_node::NODE_OT_switch_view_update ( wmOperatorType *  ot)

◆ NODE_OT_tree_socket_add()

void blender::ed::space_node::NODE_OT_tree_socket_add ( wmOperatorType *  ot)

◆ NODE_OT_tree_socket_change_type()

void blender::ed::space_node::NODE_OT_tree_socket_change_type ( wmOperatorType *  ot)

◆ NODE_OT_tree_socket_move()

void blender::ed::space_node::NODE_OT_tree_socket_move ( wmOperatorType *  ot)

◆ NODE_OT_tree_socket_remove()

void blender::ed::space_node::NODE_OT_tree_socket_remove ( wmOperatorType *  ot)

◆ NODE_OT_view_all()

void blender::ed::space_node::NODE_OT_view_all ( wmOperatorType *  ot)

◆ NODE_OT_view_selected()

void blender::ed::space_node::NODE_OT_view_selected ( wmOperatorType *  ot)

◆ NODE_OT_viewer_border()

void blender::ed::space_node::NODE_OT_viewer_border ( wmOperatorType *  ot)

◆ node_output_file_add_socket_exec()

static int blender::ed::space_node::node_output_file_add_socket_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_output_file_move_active_socket_exec()

static int blender::ed::space_node::node_output_file_move_active_socket_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_output_file_remove_active_socket_exec()

static int blender::ed::space_node::node_output_file_remove_active_socket_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_parent_offset_apply()

static void blender::ed::space_node::node_parent_offset_apply ( NodeInsertOfsData *  data,
bNode *  parent,
const float  offset_x 
)
static

◆ node_parent_set_exec()

static int blender::ed::space_node::node_parent_set_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_parents_offset_flag_enable_cb()

static bool blender::ed::space_node::node_parents_offset_flag_enable_cb ( bNode *  parent,
void *  UNUSEDuserdata 
)
static

Definition at line 2106 of file node_relationships.cc.

References bNode::flag, and NODE_TEST.

Referenced by node_link_insert_offset_ntree().

◆ node_preview_toggle_exec()

static int blender::ed::space_node::node_preview_toggle_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_property_update_default()

static void blender::ed::space_node::node_property_update_default ( Main *  bmain,
Scene *  UNUSEDscene,
PointerRNA *  ptr 
)
static

◆ node_read_viewlayers_exec()

static int blender::ed::space_node::node_read_viewlayers_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_region_listener()

static void blender::ed::space_node::node_region_listener ( const wmRegionListenerParams *  params)
static

◆ node_remove_extra_links()

static void blender::ed::space_node::node_remove_extra_links ( SpaceNode &  snode,
bNodeLink &  link 
)
static

◆ node_remove_linked()

static void blender::ed::space_node::node_remove_linked ( Main *  bmain,
bNodeTree *  ntree,
bNode *  rem_node 
)
static

◆ node_render_changed_exec() [1/2]

int blender::ed::space_node::node_render_changed_exec ( bContext *  ,
wmOperator *   
)

◆ node_render_changed_exec() [2/2]

int blender::ed::space_node::node_render_changed_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)

◆ node_resize_cancel()

static void blender::ed::space_node::node_resize_cancel ( bContext *  C,
wmOperator *  op 
)
static

Definition at line 1137 of file node_edit.cc.

References C, and node_resize_exit().

Referenced by NODE_OT_resize().

◆ node_resize_exit()

static void blender::ed::space_node::node_resize_exit ( bContext *  C,
wmOperator *  op,
bool  cancel 
)
static

◆ node_resize_init()

static void blender::ed::space_node::node_resize_init ( bContext *  C,
wmOperator *  op,
const float  cursor[2],
const bNode *  node,
NodeResizeDirection  dir 
)
static

◆ node_resize_invoke()

static int blender::ed::space_node::node_resize_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_resize_modal()

static int blender::ed::space_node::node_resize_modal ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_select_all()

void blender::ed::space_node::node_select_all ( ListBase *  lb,
int  action 
)

◆ node_select_all_exec()

static int blender::ed::space_node::node_select_all_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_select_check()

static bool blender::ed::space_node::node_select_check ( const ListBase *  lb)
static

Definition at line 1477 of file node_edit.cc.

References LISTBASE_FOREACH, node, and NODE_SELECT.

Referenced by node_select_all().

◆ node_select_exec()

static int blender::ed::space_node::node_select_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_select_grouped_color()

static bool blender::ed::space_node::node_select_grouped_color ( bNodeTree &  node_tree,
bNode &  node_act 
)
static

◆ node_select_grouped_exec()

static int blender::ed::space_node::node_select_grouped_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_select_grouped_name()

static bool blender::ed::space_node::node_select_grouped_name ( bNodeTree &  node_tree,
bNode &  node_act,
const bool  from_right 
)
static

◆ node_select_grouped_type()

static bool blender::ed::space_node::node_select_grouped_type ( bNodeTree &  node_tree,
bNode &  node_act 
)
static

Definition at line 325 of file node_select.cc.

References LISTBASE_FOREACH, node, nodeSetSelected(), SELECT, and bNode::type.

Referenced by node_select_grouped_exec().

◆ node_select_invoke()

static int blender::ed::space_node::node_select_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ node_select_linked_from_exec()

static int blender::ed::space_node::node_select_linked_from_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_select_linked_to_exec()

static int blender::ed::space_node::node_select_linked_to_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_select_same_type_step_exec()

static int blender::ed::space_node::node_select_same_type_step_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_select_single()

void blender::ed::space_node::node_select_single ( bContext &  C,
bNode &  node 
)

◆ node_set_cursor()

void blender::ed::space_node::node_set_cursor ( wmWindow &  win,
SpaceNode &  snode,
const float2 &  cursor 
)

◆ node_set_hidden_sockets()

void blender::ed::space_node::node_set_hidden_sockets ( SpaceNode *  snode,
bNode *  node,
int  set 
)

◆ node_shader_buts_displacement()

static void blender::ed::space_node::node_shader_buts_displacement ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 443 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_shader_set_butfunc().

◆ node_shader_buts_glossy()

static void blender::ed::space_node::node_shader_buts_glossy ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 448 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_shader_set_butfunc().

◆ node_shader_buts_tex_environment()

static void blender::ed::space_node::node_shader_buts_tex_environment ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_shader_buts_tex_environment_ex()

static void blender::ed::space_node::node_shader_buts_tex_environment_ex ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

Definition at line 434 of file drawnode.cc.

References C, DEFAULT_FLAGS, IFACE_, ptr, RNA_pointer_get(), uiItemR(), and uiTemplateImage().

Referenced by node_shader_set_butfunc().

◆ node_shader_buts_tex_image()

static void blender::ed::space_node::node_shader_buts_tex_image ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_shader_buts_tex_image_ex()

static void blender::ed::space_node::node_shader_buts_tex_image_ex ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

Definition at line 405 of file drawnode.cc.

References C, ptr, RNA_pointer_get(), and uiTemplateImage().

Referenced by node_shader_set_butfunc().

◆ node_shader_script_update_exec()

static int blender::ed::space_node::node_shader_script_update_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_shader_script_update_poll()

static bool blender::ed::space_node::node_shader_script_update_poll ( bContext *  C)
static

◆ node_shader_script_update_text_recursive()

static bool blender::ed::space_node::node_shader_script_update_text_recursive ( RenderEngine *  engine,
RenderEngineType *  type,
bNodeTree *  ntree,
Text *  text 
)
static

◆ node_shader_set_butfunc()

static void blender::ed::space_node::node_shader_set_butfunc ( bNodeType *  ntype)
static

◆ node_socket_add_replace()

static void blender::ed::space_node::node_socket_add_replace ( const bContext *  C,
bNodeTree *  ntree,
bNode *  node_to,
bNodeSocket *  sock_to,
int  type,
NodeLinkItem *  item 
)
static

◆ node_socket_add_tooltip()

void blender::ed::space_node::node_socket_add_tooltip ( bNodeTree *  ntree,
bNode *  node,
bNodeSocket *  sock,
uiLayout *  layout 
)

◆ node_socket_button_label()

static void blender::ed::space_node::node_socket_button_label ( bContext *  UNUSEDC,
uiLayout *  layout,
PointerRNA *  UNUSEDptr,
PointerRNA *  UNUSEDnode_ptr,
const char *  text 
)
static

◆ node_socket_calculate_height()

float blender::ed::space_node::node_socket_calculate_height ( const bNodeSocket &  socket)

◆ node_socket_color_get()

void blender::ed::space_node::node_socket_color_get ( const bContext &  C,
const bNodeTree &  ntree,
PointerRNA &  node_ptr,
const bNodeSocket &  sock,
float  r_color[4] 
)

Usual convention here would be node_socket_get_color(), but that's already used (for setting a color property socket).

Definition at line 764 of file node_draw.cc.

References BLI_assert, C, bNodeSocketType::draw_color, ntree, ptr, RNA_pointer_create(), RNA_struct_is_a(), PointerRNA::type, and bNodeSocket::typeinfo.

Referenced by node_draw_link_bezier(), node_draw_sockets(), node_socket_draw_nested(), and uiTemplateNodeLink().

◆ node_socket_deselect()

void blender::ed::space_node::node_socket_deselect ( bNode *  node,
bNodeSocket &  sock,
bool  deselect_node 
)

Definition at line 213 of file node_select.cc.

References bNodeSocket::flag, input, LISTBASE_FOREACH, node, output, and SELECT.

Referenced by node_mouse_select(), and node_socket_toggle().

◆ node_socket_disconnect()

static void blender::ed::space_node::node_socket_disconnect ( Main *  bmain,
bNodeTree *  ntree,
bNode *  node_to,
bNodeSocket *  sock_to 
)
static

◆ node_socket_draw()

static void blender::ed::space_node::node_socket_draw ( const bNodeSocket &  sock,
const float  color[4],
const float  color_outline[4],
float  size,
int  locx,
int  locy,
uint  pos_id,
uint  col_id,
uint  shape_id,
uint  size_id,
uint  outline_col_id 
)
static

◆ node_socket_draw_multi_input()

static void blender::ed::space_node::node_socket_draw_multi_input ( const float  color[4],
const float  color_outline[4],
const float  width,
const float  height,
const int  locx,
const int  locy 
)
static

◆ node_socket_draw_nested()

static void blender::ed::space_node::node_socket_draw_nested ( const bContext &  C,
bNodeTree &  ntree,
PointerRNA &  node_ptr,
uiBlock &  block,
bNodeSocket &  sock,
const uint  pos_id,
const uint  col_id,
const uint  shape_id,
const uint  size_id,
const uint  outline_col_id,
const float  size,
const bool  selected 
)
static

◆ node_socket_get_tooltip()

static char* blender::ed::space_node::node_socket_get_tooltip ( bContext *  C,
bNodeTree *  ntree,
bNode *  node,
bNodeSocket *  socket 
)
static

◆ node_socket_has_tooltip()

static bool blender::ed::space_node::node_socket_has_tooltip ( bNodeTree *  ntree,
bNodeSocket *  socket 
)
static

◆ node_socket_outline_color_get()

static void blender::ed::space_node::node_socket_outline_color_get ( const bool  selected,
const int  socket_type,
float  r_outline_color[4] 
)
static

◆ node_socket_remove()

static void blender::ed::space_node::node_socket_remove ( Main *  bmain,
bNodeTree *  ntree,
bNode *  node_to,
bNodeSocket *  sock_to 
)
static

◆ node_socket_select()

void blender::ed::space_node::node_socket_select ( bNode *  node,
bNodeSocket &  sock 
)

Definition at line 203 of file node_select.cc.

References bNodeSocket::flag, node, and SELECT.

Referenced by node_mouse_select(), and node_socket_toggle().

◆ node_socket_template_properties_update()

static void blender::ed::space_node::node_socket_template_properties_update ( bNodeType *  ntype,
bNodeSocketTemplate *  stemp 
)
static

◆ node_socket_toggle()

static void blender::ed::space_node::node_socket_toggle ( bNode *  node,
bNodeSocket &  sock,
bool  deselect_node 
)
static

Definition at line 240 of file node_select.cc.

References bNodeSocket::flag, node, node_socket_deselect(), node_socket_select(), and SELECT.

Referenced by node_mouse_select().

◆ node_socket_toggle_exec()

static int blender::ed::space_node::node_socket_toggle_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_socket_undefined_draw()

static void blender::ed::space_node::node_socket_undefined_draw ( bContext *  UNUSEDC,
uiLayout *  layout,
PointerRNA *  UNUSEDptr,
PointerRNA *  UNUSEDnode_ptr,
const char *  UNUSEDtext 
)
static

Definition at line 1104 of file drawnode.cc.

References IFACE_, and uiItemL().

Referenced by ED_node_init_butfuncs().

◆ node_socket_undefined_draw_color()

static void blender::ed::space_node::node_socket_undefined_draw_color ( bContext *  UNUSEDC,
PointerRNA *  UNUSEDptr,
PointerRNA *  UNUSEDnode_ptr,
float *  r_color 
)
static

Definition at line 1113 of file drawnode.cc.

Referenced by ED_node_init_butfuncs().

◆ node_socket_undefined_interface_draw()

static void blender::ed::space_node::node_socket_undefined_interface_draw ( bContext *  UNUSEDC,
uiLayout *  layout,
PointerRNA *  UNUSEDptr 
)
static

Definition at line 1124 of file drawnode.cc.

References IFACE_, and uiItemL().

Referenced by ED_node_init_butfuncs().

◆ node_socket_undefined_interface_draw_color()

static void blender::ed::space_node::node_socket_undefined_interface_draw_color ( bContext *  UNUSEDC,
PointerRNA *  UNUSEDptr,
float *  r_color 
)
static

Definition at line 1131 of file drawnode.cc.

Referenced by ED_node_init_butfuncs().

◆ node_socket_virtual_draw_color()

static void blender::ed::space_node::node_socket_virtual_draw_color ( bContext *  UNUSEDC,
PointerRNA *  UNUSEDptr,
PointerRNA *  UNUSEDnode_ptr,
float *  r_color 
)
static

Definition at line 1471 of file drawnode.cc.

References copy_v4_v4(), and virtual_node_socket_color.

Referenced by ED_init_node_socket_type_virtual().

◆ node_sort()

void blender::ed::space_node::node_sort ( bNodeTree &  ntree)

◆ node_space_subtype_get()

static int blender::ed::space_node::node_space_subtype_get ( ScrArea *  area)
static

◆ node_space_subtype_item_extend()

static void blender::ed::space_node::node_space_subtype_item_extend ( bContext *  C,
EnumPropertyItem **  item,
int *  totitem 
)
static

◆ node_space_subtype_set()

static void blender::ed::space_node::node_space_subtype_set ( ScrArea *  area,
int  value 
)
static

◆ node_switch_view_exec()

static int blender::ed::space_node::node_switch_view_exec ( bContext *  C,
wmOperator *  UNUSEDop 
)
static

◆ node_switch_view_poll()

static bool blender::ed::space_node::node_switch_view_poll ( bContext *  C)
static

Definition at line 1902 of file node_edit.cc.

References C, CTX_wm_space_node(), and SpaceNode::edittree.

Referenced by NODE_OT_switch_view_update().

◆ node_tag_recursive()

static void blender::ed::space_node::node_tag_recursive ( bNode *  node)
static

Definition at line 87 of file node_templates.cc.

References input, node, and NODE_TEST.

Referenced by node_remove_linked().

◆ node_template_properties_update()

static void blender::ed::space_node::node_template_properties_update ( bNodeType *  ntype)
static

◆ node_texture_buts_bricks()

static void blender::ed::space_node::node_texture_buts_bricks ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 876 of file drawnode.cc.

References col, DEFAULT_FLAGS, IFACE_, ptr, UI_ITEM_R_SLIDER, uiItemR(), and uiLayoutColumn().

Referenced by node_texture_set_butfunc().

◆ node_texture_buts_combsep_color()

static void blender::ed::space_node::node_texture_buts_combsep_color ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 1005 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_texture_set_butfunc().

◆ node_texture_buts_image()

static void blender::ed::space_node::node_texture_buts_image ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

Definition at line 977 of file drawnode.cc.

References C, ptr, UI_TEMPLATE_ID_FILTER_ALL, and uiTemplateID().

Referenced by node_texture_set_butfunc().

◆ node_texture_buts_image_ex()

static void blender::ed::space_node::node_texture_buts_image_ex ( uiLayout *  layout,
bContext *  C,
PointerRNA *  ptr 
)
static

◆ node_texture_buts_output()

static void blender::ed::space_node::node_texture_buts_output ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 1000 of file drawnode.cc.

References DEFAULT_FLAGS, ptr, and uiItemR().

Referenced by node_texture_set_butfunc().

◆ node_texture_buts_proc()

static void blender::ed::space_node::node_texture_buts_proc ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

◆ node_texture_set_butfunc()

static void blender::ed::space_node::node_texture_set_butfunc ( bNodeType *  ntype)
static

◆ node_to_updated_rect()

void blender::ed::space_node::node_to_updated_rect ( const bNode &  node,
rctf &  r_rect 
)

◆ node_to_view()

float2 blender::ed::space_node::node_to_view ( const bNode &  node,
const float2 &  co 
)

◆ node_toggle_button_cb()

static void blender::ed::space_node::node_toggle_button_cb ( struct bContext *  C,
void *  node_argv,
void *  op_argv 
)
static

◆ node_toolbar_region_draw()

static void blender::ed::space_node::node_toolbar_region_draw ( const bContext *  C,
ARegion *  region 
)
static

Definition at line 584 of file space_node.cc.

References C, and ED_region_panels().

Referenced by ED_spacetype_node().

◆ node_toolbar_region_init()

static void blender::ed::space_node::node_toolbar_region_init ( wmWindowManager *  wm,
ARegion *  region 
)
static

◆ node_uiblocks_init()

static Array<uiBlock *> blender::ed::space_node::node_uiblocks_init ( const bContext &  C,
Span< bNode * >  nodes 
)
static

◆ node_under_mouse_select()

static bNode* blender::ed::space_node::node_under_mouse_select ( bNodeTree &  ntree,
int  mx,
int  my 
)
static

◆ node_under_mouse_tweak()

static bNode* blender::ed::space_node::node_under_mouse_tweak ( bNodeTree &  ntree,
const float2 &  mouse 
)
static

◆ node_update_basis()

static void blender::ed::space_node::node_update_basis ( const bContext &  C,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block 
)
static

◆ node_update_hidden()

static void blender::ed::space_node::node_update_hidden ( bNode &  node,
uiBlock &  block 
)
static

Based on settings in node, sets drawing rect info.

Definition at line 547 of file node_draw.cc.

References cosf, float(), HIDDEN_RAD, LISTBASE_FOREACH, M_PI, MAX2, max_ff(), node, NODE_DY, NODE_SOCKSIZE, node_to_view(), NODE_WIDTH, nodeSocketIsHidden(), sinf, and UI_block_bounds_set_explicit().

Referenced by node_update_nodetree().

◆ node_update_nodetree()

static void blender::ed::space_node::node_update_nodetree ( const bContext &  C,
bNodeTree &  ntree,
Span< bNode * >  nodes,
Span< uiBlock * >  blocks 
)
static

◆ node_view_all_exec()

static int blender::ed::space_node::node_view_all_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_view_selected_exec()

static int blender::ed::space_node::node_view_selected_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ node_widgets()

static void blender::ed::space_node::node_widgets ( )
static

◆ nodelink_batch_add_link()

static void blender::ed::space_node::nodelink_batch_add_link ( const SpaceNode &  snode,
const float2 &  p0,
const float2 &  p1,
const float2 &  p2,
const float2 &  p3,
int  th_col1,
int  th_col2,
int  th_col3,
const float  start_color[4],
const float  end_color[4],
bool  drawarrow,
bool  drawmuted,
float  dim_factor,
float  thickness,
float  dash_factor,
float  dash_alpha 
)
static

◆ nodelink_batch_draw()

static void blender::ed::space_node::nodelink_batch_draw ( const SpaceNode &  snode)
static

◆ nodelink_batch_end()

void blender::ed::space_node::nodelink_batch_end ( SpaceNode &  snode)

Definition at line 1935 of file drawnode.cc.

References g_batch_link, and nodelink_batch_draw().

Referenced by node_draw_nodetree().

◆ nodelink_batch_init()

static void blender::ed::space_node::nodelink_batch_init ( )
static

◆ nodelink_batch_reset()

static void blender::ed::space_node::nodelink_batch_reset ( )
static

Definition at line 1718 of file drawnode.cc.

References g_batch_link, and GPU_vertbuf_attr_get_raw_data().

Referenced by nodelink_batch_draw(), and nodelink_batch_init().

◆ nodelink_batch_start() [1/2]

void blender::ed::space_node::nodelink_batch_start ( SpaceNode &  snode)

◆ nodelink_batch_start() [2/2]

void blender::ed::space_node::nodelink_batch_start ( SpaceNode &  UNUSEDsnode)

Definition at line 1930 of file drawnode.cc.

References g_batch_link.

Referenced by node_draw_nodetree().

◆ nodelink_get_color_id()

static char blender::ed::space_node::nodelink_get_color_id ( int  th_col)
static

Definition at line 1878 of file drawnode.cc.

References TH_ACTIVE, TH_EDGE_SELECT, TH_REDALERT, TH_WIRE, and TH_WIRE_INNER.

Referenced by nodelink_batch_add_link(), and nodelink_batch_draw().

◆ ntree_get_active_interface_socket()

static bNodeSocket* blender::ed::space_node::ntree_get_active_interface_socket ( ListBase *  lb)
static

◆ ntree_socket_add_exec()

static int blender::ed::space_node::ntree_socket_add_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ ntree_socket_change_type_exec()

static int blender::ed::space_node::ntree_socket_change_type_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ ntree_socket_move_exec()

static int blender::ed::space_node::ntree_socket_move_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ ntree_socket_remove_exec()

static int blender::ed::space_node::ntree_socket_remove_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ pick_input_link_by_link_intersect()

static void blender::ed::space_node::pick_input_link_by_link_intersect ( const bContext &  C,
wmOperator &  op,
bNodeLinkDrag &  nldrag,
const float2 &  cursor 
)
static

◆ pick_link()

static void blender::ed::space_node::pick_link ( wmOperator &  op,
bNodeLinkDrag &  nldrag,
SpaceNode &  snode,
bNode *  node,
bNodeLink &  link_to_pick 
)
static

◆ reroute_node_draw()

static void blender::ed::space_node::reroute_node_draw ( const bContext &  C,
ARegion &  region,
bNodeTree &  ntree,
bNode &  node,
uiBlock &  block 
)
static

◆ reroute_node_prepare_for_draw()

static void blender::ed::space_node::reroute_node_prepare_for_draw ( bNode &  node)
static

Definition at line 2640 of file node_draw.cc.

References bNodeSocket::locx, bNodeSocket::locy, node, node_to_view(), and size().

Referenced by node_update_nodetree().

◆ row_from_used_named_attribute()

static NodeExtraInfoRow blender::ed::space_node::row_from_used_named_attribute ( const Map< std::string, eNamedAttrUsage > &  usage_by_attribute_name)
static

◆ sample_apply()

static void blender::ed::space_node::sample_apply ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ sample_cancel()

static void blender::ed::space_node::sample_cancel ( bContext *  C,
wmOperator *  op 
)
static

Definition at line 687 of file node_view.cc.

References C, and sample_exit().

Referenced by NODE_OT_backimage_sample().

◆ sample_draw()

static void blender::ed::space_node::sample_draw ( const bContext *  C,
ARegion *  region,
void *  arg_info 
)
static

◆ sample_exit()

static void blender::ed::space_node::sample_exit ( bContext *  C,
wmOperator *  op 
)
static

◆ sample_invoke()

static int blender::ed::space_node::sample_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ sample_modal()

static int blender::ed::space_node::sample_modal ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ send_notifiers_after_tree_change()

static void blender::ed::space_node::send_notifiers_after_tree_change ( ID *  id,
bNodeTree *  ntree 
)
static

◆ set_nodelink_vertex()

static void blender::ed::space_node::set_nodelink_vertex ( GPUVertBuf *  vbo,
uint  uv_id,
uint  pos_id,
uint  exp_id,
uint  v,
const uchar  uv[2],
const float  pos[2],
const float  exp[2] 
)
static

Definition at line 1743 of file drawnode.cc.

References exp(), GPU_vertbuf_attr_set(), pos, and v.

Referenced by nodelink_batch_init().

◆ should_create_drag_link_search_menu()

static bool blender::ed::space_node::should_create_drag_link_search_menu ( const bNodeTree &  node_tree,
const bNodeLinkDrag &  nldrag 
)
static

◆ snode_autoconnect()

static void blender::ed::space_node::snode_autoconnect ( SpaceNode &  snode,
const bool  allow_multiple,
const bool  replace 
)
static

◆ snode_autoconnect_input()

static bool blender::ed::space_node::snode_autoconnect_input ( SpaceNode &  snode,
bNode *  node_fr,
bNodeSocket *  sock_fr,
bNode *  node_to,
bNodeSocket *  sock_to,
int  replace 
)
static

Definition at line 290 of file node_relationships.cc.

References SpaceNode::edittree, nodeAddLink(), nodeRemSocketLinks(), and ntree.

Referenced by snode_autoconnect().

◆ snode_bg_viewmove_cancel()

static void blender::ed::space_node::snode_bg_viewmove_cancel ( bContext *  UNUSEDC,
wmOperator *  op 
)
static

Definition at line 276 of file node_view.cc.

References wmOperator::customdata, and MEM_freeN.

Referenced by NODE_OT_backimage_move().

◆ snode_bg_viewmove_invoke()

static int blender::ed::space_node::snode_bg_viewmove_invoke ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ snode_bg_viewmove_modal()

static int blender::ed::space_node::snode_bg_viewmove_modal ( bContext *  C,
wmOperator *  op,
const wmEvent *  event 
)
static

◆ snode_set_context()

void blender::ed::space_node::snode_set_context ( const bContext &  C)

◆ snode_setup_v2d()

static void blender::ed::space_node::snode_setup_v2d ( SpaceNode &  snode,
ARegion &  region,
const float2 &  center 
)
static

◆ socket_change_poll_type()

static bool blender::ed::space_node::socket_change_poll_type ( void *  userdata,
bNodeSocketType *  socket_type 
)
static

◆ socket_change_type_itemf()

static const EnumPropertyItem* blender::ed::space_node::socket_change_type_itemf ( bContext *  C,
PointerRNA *  UNUSEDptr,
PropertyRNA *  UNUSEDprop,
bool *  r_free 
)
static

◆ socket_is_available()

static bool blender::ed::space_node::socket_is_available ( bNodeTree *  UNUSEDntree,
bNodeSocket *  sock,
const bool  allow_used 
)
static

◆ socket_is_occluded()

static bool blender::ed::space_node::socket_is_occluded ( const bNodeSocket &  sock,
const bNode &  node_the_socket_belongs_to,
const SpaceNode &  snode 
)
static

◆ socket_needs_attribute_search()

static bool blender::ed::space_node::socket_needs_attribute_search ( bNode &  node,
bNodeSocket &  socket 
)
static

Definition at line 1273 of file drawnode.cc.

References BLI_findindex(), bNodeSocket::in_out, node, and SOCK_OUT.

Referenced by std_node_socket_draw().

◆ sort_multi_input_socket_links()

void blender::ed::space_node::sort_multi_input_socket_links ( SpaceNode &  snode,
bNode &  node,
bNodeLink *  drag_link,
const float2 *  cursor 
)

◆ space_node_group_offset()

float2 blender::ed::space_node::space_node_group_offset ( const SpaceNode &  snode)

Transform between View2Ds in the tree path.

Definition at line 207 of file space_node.cc.

References if(), ListBase::last, bNodeTreePath::prev, SpaceNode::treepath, and bNodeTreePath::view_center.

Referenced by node_group_separate_exec().

◆ space_node_view_flag()

bool blender::ed::space_node::space_node_view_flag ( bContext &  C,
SpaceNode &  snode,
ARegion &  region,
int  node_flag,
int  smooth_viewtx 
)

◆ std_node_socket_draw()

static void blender::ed::space_node::std_node_socket_draw ( bContext *  C,
uiLayout *  layout,
PointerRNA *  ptr,
PointerRNA *  node_ptr,
const char *  text 
)
static

◆ std_node_socket_draw_color()

static void blender::ed::space_node::std_node_socket_draw_color ( bContext *  UNUSEDC,
PointerRNA *  ptr,
PointerRNA *  UNUSEDnode_ptr,
float *  r_color 
)
static

◆ std_node_socket_interface_draw()

static void blender::ed::space_node::std_node_socket_interface_draw ( bContext *  UNUSEDC,
uiLayout *  layout,
PointerRNA *  ptr 
)
static

◆ std_node_socket_interface_draw_color()

static void blender::ed::space_node::std_node_socket_interface_draw_color ( bContext *  UNUSEDC,
PointerRNA *  ptr,
float *  r_color 
)
static

◆ two_xy_from_rect()

static void blender::ed::space_node::two_xy_from_rect ( NodeTwoXYs *  nxy,
const rctf *  rect,
const float  dims[2],
bool  is_relative 
)
static

◆ two_xy_to_rect()

static void blender::ed::space_node::two_xy_to_rect ( const NodeTwoXYs *  nxy,
rctf *  rect,
const float  dims[2],
bool  is_relative 
)
static

◆ ui_compatible_sockets()

static int blender::ed::space_node::ui_compatible_sockets ( int  typeA,
int  typeB 
)
static

Definition at line 485 of file node_templates.cc.

Referenced by ui_node_menu_column().

◆ ui_node_draw_input()

static void blender::ed::space_node::ui_node_draw_input ( uiLayout *  layout,
bContext *  C,
bNodeTree *  ntree,
bNode *  node,
bNodeSocket *  input,
int  depth 
)
static

◆ ui_node_draw_node()

static void blender::ed::space_node::ui_node_draw_node ( uiLayout *  layout,
bContext *  C,
bNodeTree *  ntree,
bNode *  node,
int  depth 
)
static

◆ ui_node_item_name_compare()

static int blender::ed::space_node::ui_node_item_name_compare ( const void *  a,
const void *  b 
)
static

◆ ui_node_item_special_poll()

static bool blender::ed::space_node::ui_node_item_special_poll ( const bNodeTree *  UNUSEDntree,
const bNodeType *  ntype 
)
static

Definition at line 497 of file node_templates.cc.

References bNodeType::idname, and STREQ.

Referenced by ui_node_menu_column().

◆ ui_node_link()

static void blender::ed::space_node::ui_node_link ( bContext *  C,
void *  arg_p,
void *  event_p 
)
static

◆ ui_node_link_items()

static Vector<NodeLinkItem> blender::ed::space_node::ui_node_link_items ( NodeLinkArg *  arg,
int  in_out,
std::optional< NodeDeclaration > &  r_node_decl 
)
static

◆ ui_node_menu_column()

static void blender::ed::space_node::ui_node_menu_column ( NodeLinkArg *  arg,
int  nclass,
const char *  cname 
)
static

◆ ui_node_sock_name()

static void blender::ed::space_node::ui_node_sock_name ( const bNodeTree *  ntree,
bNodeSocket *  sock,
char  name[UI_MAX_NAME_STR] 
)
static

◆ ui_template_node_link_menu()

static void blender::ed::space_node::ui_template_node_link_menu ( bContext *  C,
uiLayout *  layout,
void *  but_p 
)
static

◆ viewer_border_corner_to_backdrop()

static void blender::ed::space_node::viewer_border_corner_to_backdrop ( SpaceNode *  snode,
ARegion *  region,
int  x,
int  y,
int  backdrop_width,
int  backdrop_height,
float *  fx,
float *  fy 
)
static

Definition at line 2884 of file node_edit.cc.

References float(), ARegion::winx, ARegion::winy, x, SpaceNode::xof, y, SpaceNode::yof, and SpaceNode::zoom.

Referenced by viewer_border_exec().

◆ viewer_border_exec()

static int blender::ed::space_node::viewer_border_exec ( bContext *  C,
wmOperator *  op 
)
static

◆ WIDGETGROUP_node_corner_pin_draw_prepare()

static void blender::ed::space_node::WIDGETGROUP_node_corner_pin_draw_prepare ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_corner_pin_poll()

static bool blender::ed::space_node::WIDGETGROUP_node_corner_pin_poll ( const bContext *  C,
wmGizmoGroupType *  UNUSEDgzgt 
)
static

◆ WIDGETGROUP_node_corner_pin_refresh()

static void blender::ed::space_node::WIDGETGROUP_node_corner_pin_refresh ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_corner_pin_setup()

static void blender::ed::space_node::WIDGETGROUP_node_corner_pin_setup ( const bContext *  UNUSEDC,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_crop_draw_prepare()

static void blender::ed::space_node::WIDGETGROUP_node_crop_draw_prepare ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_crop_poll()

static bool blender::ed::space_node::WIDGETGROUP_node_crop_poll ( const bContext *  C,
wmGizmoGroupType *  UNUSEDgzgt 
)
static

◆ WIDGETGROUP_node_crop_refresh()

static void blender::ed::space_node::WIDGETGROUP_node_crop_refresh ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_crop_setup()

static void blender::ed::space_node::WIDGETGROUP_node_crop_setup ( const bContext *  UNUSEDC,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_sbeam_draw_prepare()

static void blender::ed::space_node::WIDGETGROUP_node_sbeam_draw_prepare ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_sbeam_poll()

static bool blender::ed::space_node::WIDGETGROUP_node_sbeam_poll ( const bContext *  C,
wmGizmoGroupType *  UNUSEDgzgt 
)
static

◆ WIDGETGROUP_node_sbeam_refresh()

static void blender::ed::space_node::WIDGETGROUP_node_sbeam_refresh ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_sbeam_setup()

static void blender::ed::space_node::WIDGETGROUP_node_sbeam_setup ( const bContext *  UNUSEDC,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_transform_poll()

static bool blender::ed::space_node::WIDGETGROUP_node_transform_poll ( const bContext *  C,
wmGizmoGroupType *  UNUSEDgzgt 
)
static

◆ WIDGETGROUP_node_transform_refresh()

static void blender::ed::space_node::WIDGETGROUP_node_transform_refresh ( const bContext *  C,
wmGizmoGroup *  gzgroup 
)
static

◆ WIDGETGROUP_node_transform_setup()

static void blender::ed::space_node::WIDGETGROUP_node_transform_setup ( const bContext *  UNUSEDC,
wmGizmoGroup *  gzgroup 
)
static

Variable Documentation

◆ arrow_expand_axis

float blender::ed::space_node::arrow_expand_axis[3][2] = {{0.7071f, 0.7071f}, {M_SQRT2, 0.0f}, {0.7071f, -0.7071f}}
static

Definition at line 1693 of file drawnode.cc.

Referenced by nodelink_batch_init().

◆ arrow_verts

float blender::ed::space_node::arrow_verts[3][2] = {{-1.0f, 1.0f}, {0.0f, 0.0f}, {-1.0f, -1.0f}}
static

Definition at line 1692 of file drawnode.cc.

Referenced by nodelink_batch_init().

◆ batch

GPUBatch* blender::ed::space_node::batch

Definition at line 1699 of file drawnode.cc.

Referenced by node_draw_link_bezier().

◆ batch_single

GPUBatch* blender::ed::space_node::batch_single

Definition at line 1700 of file drawnode.cc.

◆ colid_id

uint blender::ed::space_node::colid_id

Definition at line 1703 of file drawnode.cc.

◆ colid_step

GPUVertBufRaw blender::ed::space_node::colid_step

Definition at line 1709 of file drawnode.cc.

◆ count

uint blender::ed::space_node::count

Definition at line 1714 of file drawnode.cc.

Referenced by count_multi_input_socket_links().

◆ dash_alpha_id

uint blender::ed::space_node::dash_alpha_id

Definition at line 1707 of file drawnode.cc.

◆ dash_alpha_step

GPUVertBufRaw blender::ed::space_node::dash_alpha_step

Definition at line 1713 of file drawnode.cc.

◆ dash_factor_id

uint blender::ed::space_node::dash_factor_id

Definition at line 1706 of file drawnode.cc.

◆ dash_factor_step

GPUVertBufRaw blender::ed::space_node::dash_factor_step

Definition at line 1712 of file drawnode.cc.

◆ dim_factor_id

uint blender::ed::space_node::dim_factor_id

Definition at line 1704 of file drawnode.cc.

◆ dim_factor_step

GPUVertBufRaw blender::ed::space_node::dim_factor_step

Definition at line 1710 of file drawnode.cc.

◆ enabled

bool blender::ed::space_node::enabled

Definition at line 1715 of file drawnode.cc.

◆ end_color_id

uint blender::ed::space_node::end_color_id

Definition at line 1703 of file drawnode.cc.

◆ end_color_step

GPUVertBufRaw blender::ed::space_node::end_color_step

Definition at line 1709 of file drawnode.cc.

◆ 

struct { ... } blender::ed::space_node::g_batch_link

◆ inst_vbo

GPUVertBuf* blender::ed::space_node::inst_vbo

Definition at line 1701 of file drawnode.cc.

◆ move_direction_items

const EnumPropertyItem blender::ed::space_node::move_direction_items[]
static
Initial value:
= {
{1, "UP", 0, "Up", ""},
{2, "DOWN", 0, "Down", ""},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 2657 of file node_edit.cc.

Referenced by NODE_OT_tree_socket_move().

◆ mute_expand_axis

float blender::ed::space_node::mute_expand_axis[3][2] = {{1.0f, 0.0f}, {1.0f, 0.0f}, {1.0f, -0.0f}}
static

Definition at line 1695 of file drawnode.cc.

Referenced by nodelink_batch_init().

◆ mute_verts

float blender::ed::space_node::mute_verts[3][2] = {{0.7071f, 1.0f}, {0.7071f, 0.0f}, {0.7071f, -1.0f}}
static

Definition at line 1694 of file drawnode.cc.

Referenced by nodelink_batch_init().

◆ muted_id

uint blender::ed::space_node::muted_id

Definition at line 1703 of file drawnode.cc.

◆ muted_step

GPUVertBufRaw blender::ed::space_node::muted_step

Definition at line 1709 of file drawnode.cc.

◆ node_group_separate_types

const EnumPropertyItem blender::ed::space_node::node_group_separate_types[]
static
Initial value:
= {
{NODE_GS_COPY, "COPY", 0, "Copy", "Copy to parent node tree, keep group intact"},
{NODE_GS_MOVE, "MOVE", 0, "Move", "Move to parent node tree, remove from group"},
{0, nullptr, 0, nullptr, nullptr},
}

Definition at line 555 of file node_group.cc.

Referenced by NODE_OT_group_separate().

◆ p0_id

uint blender::ed::space_node::p0_id

Definition at line 1702 of file drawnode.cc.

◆ p0_step

GPUVertBufRaw blender::ed::space_node::p0_step

Definition at line 1708 of file drawnode.cc.

◆ p1_id

uint blender::ed::space_node::p1_id

Definition at line 1702 of file drawnode.cc.

◆ p1_step

GPUVertBufRaw blender::ed::space_node::p1_step

Definition at line 1708 of file drawnode.cc.

◆ p2_id

uint blender::ed::space_node::p2_id

Definition at line 1702 of file drawnode.cc.

◆ p2_step

GPUVertBufRaw blender::ed::space_node::p2_step

Definition at line 1708 of file drawnode.cc.

◆ p3_id

uint blender::ed::space_node::p3_id

Definition at line 1702 of file drawnode.cc.

◆ p3_step

GPUVertBufRaw blender::ed::space_node::p3_step

Definition at line 1708 of file drawnode.cc.

◆ start_color_id

uint blender::ed::space_node::start_color_id

Definition at line 1703 of file drawnode.cc.

◆ start_color_step

GPUVertBufRaw blender::ed::space_node::start_color_step

Definition at line 1709 of file drawnode.cc.

◆ std_node_socket_colors

const float blender::ed::space_node::std_node_socket_colors[][4]
static
Initial value:
= {
{0.63, 0.63, 0.63, 1.0},
{0.39, 0.39, 0.78, 1.0},
{0.78, 0.78, 0.16, 1.0},
{0.39, 0.78, 0.39, 1.0},
{0.80, 0.65, 0.84, 1.0},
{0.0, 0.0, 0.0, 1.0},
{0.35, 0.55, 0.36, 1.0},
{0.44, 0.70, 1.00, 1.0},
{0.93, 0.62, 0.36, 1.0},
{0.39, 0.22, 0.39, 1.0},
{0.00, 0.84, 0.64, 1.0},
{0.96, 0.96, 0.96, 1.0},
{0.62, 0.31, 0.64, 1.0},
{0.92, 0.46, 0.51, 1.0},
}

Definition at line 1189 of file drawnode.cc.

Referenced by std_node_socket_draw_color(), and std_node_socket_interface_draw_color().

◆ thickness_id

uint blender::ed::space_node::thickness_id

Definition at line 1705 of file drawnode.cc.

◆ thickness_step

GPUVertBufRaw blender::ed::space_node::thickness_step

Definition at line 1711 of file drawnode.cc.

◆ virtual_node_socket_color

const float blender::ed::space_node::virtual_node_socket_color[4] = {0.2, 0.2, 0.2, 1.0}
static

Definition at line 1186 of file drawnode.cc.

Referenced by node_socket_virtual_draw_color().

◆ virtual_node_socket_outline_color

const float blender::ed::space_node::virtual_node_socket_outline_color[4] = {0.5, 0.5, 0.5, 1.0}
static

Definition at line 745 of file node_draw.cc.

Referenced by node_socket_outline_color_get().