96 const int total_inputs,
173 const int smooth_viewtx);
197 float coord_array[][2],
210 const struct bContext *
C,
const char *idname,
int type,
float locx,
float locy);
263 struct bNode **nodep,
265 const float cursor[2],
324 #define HIDDEN_RAD (0.75f * U.widget_unit)
325 #define BASIS_RAD (0.2f * U.widget_unit)
326 #define NODE_DYS (U.widget_unit / 2)
327 #define NODE_DY U.widget_unit
328 #define NODE_SOCKDY (0.08f * U.widget_unit)
329 #define NODE_WIDTH(node) (node->width * UI_DPI_FAC)
330 #define NODE_HEIGHT(node) (node->height * UI_DPI_FAC)
331 #define NODE_MARGIN_X (1.10f * U.widget_unit)
332 #define NODE_SOCKSIZE (0.25f * U.widget_unit)
333 #define NODE_MULTI_INPUT_LINK_GAP (0.25f * U.widget_unit)
334 #define NODE_RESIZE_MARGIN (0.20f * U.widget_unit)
335 #define NODE_LINK_RESOL 12
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei GLsizei GLenum type _GL_VOID_RET _GL_VOID GLsizei GLenum GLenum const void *pixels _GL_VOID_RET _GL_VOID const void *pointer _GL_VOID_RET _GL_VOID GLdouble v _GL_VOID_RET _GL_VOID GLfloat v _GL_VOID_RET _GL_VOID GLint GLint i2 _GL_VOID_RET _GL_VOID GLint j _GL_VOID_RET _GL_VOID GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble GLdouble GLdouble zFar _GL_VOID_RET _GL_UINT GLdouble *equation _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLenum GLfloat *v _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLfloat *values _GL_VOID_RET _GL_VOID GLushort *values _GL_VOID_RET _GL_VOID GLenum GLfloat *params _GL_VOID_RET _GL_VOID GLenum GLdouble *params _GL_VOID_RET _GL_VOID GLenum GLint *params _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_BOOL GLfloat param _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLushort pattern _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLint GLdouble GLdouble GLint GLint const GLdouble *points _GL_VOID_RET _GL_VOID GLdouble GLdouble u2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLint GLdouble GLdouble v2 _GL_VOID_RET _GL_VOID GLenum GLfloat param _GL_VOID_RET _GL_VOID GLenum GLint param _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLdouble GLdouble nz _GL_VOID_RET _GL_VOID GLfloat GLfloat nz _GL_VOID_RET _GL_VOID GLint GLint nz _GL_VOID_RET _GL_VOID GLshort GLshort nz _GL_VOID_RET _GL_VOID GLsizei const void *pointer _GL_VOID_RET _GL_VOID GLsizei const GLfloat *values _GL_VOID_RET _GL_VOID GLsizei const GLushort *values _GL_VOID_RET _GL_VOID GLint param _GL_VOID_RET _GL_VOID const GLuint const GLclampf *priorities _GL_VOID_RET _GL_VOID GLdouble y _GL_VOID_RET _GL_VOID GLfloat y _GL_VOID_RET _GL_VOID GLint y _GL_VOID_RET _GL_VOID GLshort y _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLfloat GLfloat z _GL_VOID_RET _GL_VOID GLint GLint z _GL_VOID_RET _GL_VOID GLshort GLshort z _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble w _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat w _GL_VOID_RET _GL_VOID GLint GLint GLint w _GL_VOID_RET _GL_VOID GLshort GLshort GLshort w _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble y2 _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat y2 _GL_VOID_RET _GL_VOID GLint GLint GLint y2 _GL_VOID_RET _GL_VOID GLshort GLshort GLshort y2 _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLdouble GLdouble z _GL_VOID_RET _GL_VOID GLuint *buffer _GL_VOID_RET _GL_VOID GLdouble t _GL_VOID_RET _GL_VOID GLfloat t _GL_VOID_RET _GL_VOID GLint t _GL_VOID_RET _GL_VOID GLshort t _GL_VOID_RET _GL_VOID GLdouble GLdouble r _GL_VOID_RET _GL_VOID GLfloat GLfloat r _GL_VOID_RET _GL_VOID GLint GLint r _GL_VOID_RET _GL_VOID GLshort GLshort r _GL_VOID_RET _GL_VOID GLdouble GLdouble r
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint y
static CCL_NAMESPACE_BEGIN const double alpha
void NODE_OT_output_file_remove_active_socket(struct wmOperatorType *ot)
void NODE_OT_link_make(struct wmOperatorType *ot)
void NODE_OT_select_grouped(struct wmOperatorType *ot)
void NODE_OT_select_box(struct wmOperatorType *ot)
void NODE_OT_hide_socket_toggle(struct wmOperatorType *ot)
void NODE_OT_select_circle(struct wmOperatorType *ot)
void NODE_OT_node_copy_color(struct wmOperatorType *ot)
void NODE_OT_link(struct wmOperatorType *ot)
void NODE_OT_options_toggle(struct wmOperatorType *ot)
void NODE_OT_mute_toggle(struct wmOperatorType *ot)
void NODE_OT_add_group(struct wmOperatorType *ot)
void node_draw_default(const struct bContext *C, struct ARegion *region, struct SpaceNode *snode, struct bNodeTree *ntree, struct bNode *node, bNodeInstanceKey key)
bool node_has_hidden_sockets(struct bNode *node)
int node_render_changed_exec(bContext *, struct wmOperator *)
void NODE_OT_group_make(struct wmOperatorType *ot)
void NODE_OT_cryptomatte_layer_add(struct wmOperatorType *ot)
void NODE_OT_detach(struct wmOperatorType *ot)
void NODE_OT_duplicate(struct wmOperatorType *ot)
struct SpaceNode_Runtime SpaceNode_Runtime
void NODE_OT_select_all(struct wmOperatorType *ot)
void node_draw_link(struct View2D *v2d, struct SpaceNode *snode, struct bNodeLink *link)
void NODE_OT_clipboard_paste(struct wmOperatorType *ot)
void NODE_OT_add_mask(struct wmOperatorType *ot)
void node_draw_nodetree(const struct bContext *C, struct ARegion *region, struct SpaceNode *snode, struct bNodeTree *ntree, bNodeInstanceKey parent_key)
void NODE_OT_group_ungroup(struct wmOperatorType *ot)
const char * node_group_idname(struct bContext *C)
void NODE_GGT_backdrop_corner_pin(struct wmGizmoGroupType *gzgt)
void node_set_hidden_sockets(struct SpaceNode *snode, bNode *node, int set)
void NODE_OT_clear_viewer_border(struct wmOperatorType *ot)
void NODE_OT_add_file(struct wmOperatorType *ot)
void draw_nodespace_back_pix(const struct bContext *C, struct ARegion *region, struct SpaceNode *snode, bNodeInstanceKey parent_key)
void NODE_OT_cryptomatte_layer_remove(struct wmOperatorType *ot)
void NODE_GGT_backdrop_sun_beams(struct wmGizmoGroupType *gzgt)
void NODE_OT_tree_socket_move(struct wmOperatorType *ot)
void NODE_OT_output_file_move_active_socket(struct wmOperatorType *ot)
void NODE_OT_view_selected(struct wmOperatorType *ot)
void NODE_OT_backimage_move(struct wmOperatorType *ot)
int node_get_colorid(struct bNode *node)
bool node_link_bezier_points(const struct View2D *v2d, const struct SpaceNode *snode, const struct bNodeLink *link, float coord_array[][2], const int resol)
void NODE_OT_backimage_sample(struct wmOperatorType *ot)
void NODE_OT_select_same_type_step(struct wmOperatorType *ot)
void node_update_nodetree(const struct bContext *C, struct bNodeTree *ntree)
void NODE_OT_link_viewer(struct wmOperatorType *ot)
void NODE_OT_switch_view_update(struct wmOperatorType *ot)
void node_draw_link_bezier(const struct View2D *v2d, const struct SpaceNode *snode, const struct bNodeLink *link, int th_col1, int th_col2, int th_col3)
void NODE_OT_parent_set(struct wmOperatorType *ot)
int node_get_resize_cursor(int directions)
void node_link_calculate_multi_input_position(const float socket_x, const float socket_y, const int index, const int total_inputs, float r[2])
bool composite_node_active(struct bContext *C)
void node_deselect_all_input_sockets(struct SpaceNode *snode, const bool deselect_nodes)
void NODE_OT_select_lasso(struct wmOperatorType *ot)
void NODE_OT_output_file_add_socket(struct wmOperatorType *ot)
void node_socket_deselect(struct bNode *node, struct bNodeSocket *sock, const bool deselect_node)
void NODE_OT_tree_socket_remove(struct wmOperatorType *ot)
void NODE_OT_select(struct wmOperatorType *ot)
void NODE_OT_delete(struct wmOperatorType *ot)
void NODE_OT_insert_offset(struct wmOperatorType *ot)
void NODE_OT_tree_socket_add(struct wmOperatorType *ot)
void nodelink_batch_start(struct SpaceNode *snode)
void NODE_OT_select_linked_from(struct wmOperatorType *ot)
void node_draw_sockets(const struct View2D *v2d, const struct bContext *C, struct bNodeTree *ntree, struct bNode *node, bool draw_outputs, bool select_all)
void NODE_OT_render_changed(struct wmOperatorType *ot)
void node_to_view(const struct bNode *node, float x, float y, float *rx, float *ry)
void NODE_OT_resize(struct wmOperatorType *ot)
int node_tweak_area_default(struct bNode *node, int x, int y)
void snode_notify(struct bContext *C, struct SpaceNode *snode)
void NODE_OT_backimage_zoom(struct wmOperatorType *ot)
void NODE_OT_join(struct wmOperatorType *ot)
int node_select_area_default(struct bNode *node, int x, int y)
void node_to_updated_rect(const struct bNode *node, rctf *r_rect)
bool composite_node_editable(struct bContext *C)
void NODE_OT_add_reroute(struct wmOperatorType *ot)
void NODE_OT_add_collection(struct wmOperatorType *ot)
void NODE_OT_group_insert(struct wmOperatorType *ot)
void NODE_OT_clipboard_copy(struct wmOperatorType *ot)
void node_set_cursor(struct wmWindow *win, struct SpaceNode *snode, float cursor[2])
void NODE_OT_links_mute(struct wmOperatorType *ot)
struct bNodeLinkDrag bNodeLinkDrag
void node_deselect_all(struct SpaceNode *snode)
void NODE_OT_new_node_tree(struct wmOperatorType *ot)
void NODE_OT_attach(struct wmOperatorType *ot)
void NODE_OT_links_detach(struct wmOperatorType *ot)
void node_geometry_add_attribute_search_button(const struct bContext *C, const struct bNodeTree *node_tree, const struct bNode *node, struct PointerRNA *socket_ptr, struct uiLayout *layout)
void NODE_OT_select_linked_to(struct wmOperatorType *ot)
void snode_dag_update(struct bContext *C, struct SpaceNode *snode)
int space_node_view_flag(struct bContext *C, struct SpaceNode *snode, ARegion *region, const int node_flag, const int smooth_viewtx)
void node_socket_select(struct bNode *node, struct bNodeSocket *sock)
void NODE_OT_find_node(struct wmOperatorType *ot)
void node_draw_shadow(const struct SpaceNode *snode, const struct bNode *node, float radius, float alpha)
void node_deselect_all_output_sockets(struct SpaceNode *snode, const bool deselect_nodes)
void node_from_view(const struct bNode *node, float x, float y, float *rx, float *ry)
void space_node_group_offset(struct SpaceNode *snode, float *x, float *y)
void NODE_OT_group_edit(struct wmOperatorType *ot)
void NODE_OT_backimage_fit(struct wmOperatorType *ot)
void NODE_OT_delete_reconnect(struct wmOperatorType *ot)
const char * node_context_dir[]
void snode_update(struct SpaceNode *snode, struct bNode *node)
bool node_connected_to_output(struct Main *bmain, struct bNodeTree *ntree, struct bNode *node)
void NODE_OT_active_preview_toggle(struct wmOperatorType *ot)
void NODE_OT_hide_toggle(struct wmOperatorType *ot)
void node_draw_space(const bContext *C, ARegion *region)
float node_socket_calculate_height(const bNodeSocket *socket)
void NODE_OT_add_texture(struct wmOperatorType *ot)
void NODE_OT_read_viewlayers(struct wmOperatorType *ot)
void NODE_OT_shader_script_update(struct wmOperatorType *ot)
void snode_set_context(const struct bContext *C)
void NODE_OT_links_cut(struct wmOperatorType *ot)
bNode * node_add_node(const struct bContext *C, const char *idname, int type, float locx, float locy)
void NODE_GGT_backdrop_transform(struct wmGizmoGroupType *gzgt)
void NODE_OT_viewer_border(struct wmOperatorType *ot)
void nodelink_batch_end(struct SpaceNode *snode)
void node_socket_color_get(struct bContext *C, struct bNodeTree *ntree, struct PointerRNA *node_ptr, struct bNodeSocket *sock, float r_color[4])
bool node_link_bezier_handles(const struct View2D *v2d, const struct SpaceNode *snode, const struct bNodeLink *link, float vec[4][2])
void NODE_GGT_backdrop_crop(struct wmGizmoGroupType *gzgt)
void NODE_OT_group_separate(struct wmOperatorType *ot)
void NODE_OT_preview_toggle(struct wmOperatorType *ot)
void node_buttons_register(struct ARegionType *art)
void node_select_single(struct bContext *C, struct bNode *node)
int node_find_indicated_socket(struct SpaceNode *snode, struct bNode **nodep, struct bNodeSocket **sockp, const float cursor[2], int in_out)
void node_update_default(const struct bContext *C, struct bNodeTree *ntree, struct bNode *node)
void node_operatortypes(void)
void node_keymap(struct wmKeyConfig *keyconf)
void sort_multi_input_socket_links(struct SpaceNode *snode, struct bNode *node, struct bNodeLink *drag_link, float cursor[2])
void NODE_OT_view_all(struct wmOperatorType *ot)
void node_toolbar_register(struct ARegionType *art)
void NODE_OT_add_object(struct wmOperatorType *ot)
struct NodeInsertOfsData * iofsd
struct bNodeLink * last_picked_multi_input_socket_link
struct bNodeLinkDrag * next
struct bNode * last_node_hovered_while_dragging_a_link
struct bNodeLinkDrag * prev
bool from_multi_input_socket