Blender  V2.93
Public Attributes | List of all members
bNodeTree Struct Reference

#include <DNA_node_types.h>

Public Attributes

ID id
 
struct AnimDataadt
 
struct bNodeTreeTypetypeinfo
 
char idname [64]
 
struct StructRNAinterface_type
 
struct bGPdatagpd
 
float view_center [2]
 
ListBase nodes
 
ListBase links
 
int type
 
int init
 
int cur_index
 
int flag
 
int update
 
short is_updating
 
short done
 
char _pad2 [4]
 
int nodetype DNA_DEPRECATED
 
short edit_quality
 
short render_quality
 
int chunksize
 
rctf viewer_border
 
ListBase inputs
 
ListBase outputs
 
struct bNodeInstanceHashpreviews
 
bNodeInstanceKey active_viewer_key
 
char _pad [4]
 
struct bNodeTreeExecexecdata
 
void(* progress )(void *, float progress)
 
void(* stats_draw )(void *, const char *str)
 
int(* test_break )(void *)
 
void(* update_draw )(void *)
 
void * tbh
 
void * prh
 
void * sdh
 
void * udh
 
struct NodeTreeUIStorageui_storage
 

Detailed Description

Definition at line 426 of file DNA_node_types.h.

Member Data Documentation

◆ _pad

char bNodeTree::_pad[4]

Definition at line 488 of file DNA_node_types.h.

◆ _pad2

char bNodeTree::_pad2[4]

Definition at line 460 of file DNA_node_types.h.

◆ active_viewer_key

bNodeInstanceKey bNodeTree::active_viewer_key

◆ adt

struct AnimData* bNodeTree::adt

Animation data (must be immediately after id for utilities to use it).

Definition at line 429 of file DNA_node_types.h.

Referenced by acf_dsntree_setting_ptr(), light_emission_node_to_energy(), make_new_animlistelem(), node_group_make_insert_selected(), node_group_separate_selected(), ntreeBlendReadData(), and ntreeBlendWrite().

◆ chunksize

int bNodeTree::chunksize

Tile size for compositor engine.

Definition at line 470 of file DNA_node_types.h.

Referenced by blo_do_versions_260(), ED_node_composit_default(), and blender::compositor::CompositorContext::getChunksize().

◆ cur_index

int bNodeTree::cur_index

Sockets in groups have unique identifiers, adding new sockets always will increase this counter.

Definition at line 452 of file DNA_node_types.h.

Referenced by blo_do_versions_250(), do_versions_node_group_add_socket_2_56_2(), and make_socket_interface().

◆ DNA_DEPRECATED

int nodetype bNodeTree::DNA_DEPRECATED

Specific node type this tree is used for.

Definition at line 463 of file DNA_node_types.h.

◆ done

short bNodeTree::done

Generic temporary flag for recursion check (DFS/BFS).

Definition at line 459 of file DNA_node_types.h.

Referenced by node_shader_script_update_exec(), and node_shader_script_update_text_recursive().

◆ edit_quality

short bNodeTree::edit_quality

Quality setting when editing.

Definition at line 466 of file DNA_node_types.h.

Referenced by ED_node_composit_default(), and blender::compositor::ExecutionSystem::ExecutionSystem().

◆ execdata

struct bNodeTreeExec* bNodeTree::execdata

Execution data.

XXX It would be preferable to completely move this data out of the underlying node tree, so node tree execution could finally run independent of the tree itself. This would allow node trees to be merely linked by other data (materials, textures, etc.), as ID data is supposed to. Execution data is generated from the tree once at execution start and can then be used as long as necessary, even while the tree is being modified.

Definition at line 499 of file DNA_node_types.h.

Referenced by blender::compositor::TextureBaseOperation::deinitExecution(), load_tex(), node_free_node(), ntree_blend_write(), ntree_copy_data(), ntree_free_data(), ntreeBlendReadData(), ntreeShaderBeginExecTree(), ntreeShaderEndExecTree(), ntreeTexBeginExecTree(), ntreeTexEndExecTree(), ntreeTexExecTree(), paint_brush_exit_tex(), sculpt_brush_exit_tex(), and texture_copy_data().

◆ flag

int bNodeTree::flag

◆ gpd

struct bGPdata* bNodeTree::gpd

◆ id

ID bNodeTree::id

Definition at line 427 of file DNA_node_types.h.

Referenced by animdata_copy_id_action(), BKE_idtype_id_foreach_cache(), BKE_image_walk_all_users(), BKE_material_copybuf_free(), BKE_node_instance_key(), BKE_node_tree_iter_step(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_280(), blo_do_versions_pre250(), blender::deg::DepsgraphRelationBuilder::build_light(), blender::deg::DepsgraphRelationBuilder::build_material(), blender::deg::DepsgraphRelationBuilder::build_nested_nodetree(), blender::deg::DepsgraphNodeBuilder::build_nodetree(), blender::deg::DepsgraphRelationBuilder::build_nodetree(), blender::deg::DepsgraphRelationBuilder::build_simulation(), blender::deg::DepsgraphRelationBuilder::build_world(), buttons_context(), buttons_texture_users_find_nodetree(), compo_initjob(), deg_graph_clear_id_recalc_flags(), DEG_iterator_ids_step(), do_version_hue_sat_node(), ED_annotation_data_get_pointers_direct(), ED_node_tag_update_id(), ED_node_tree_push(), ED_node_tree_start(), ED_node_tree_update(), expand_id_embedded_id(), free_localized_node_groups(), GPU_material_from_nodetree(), image_walk_id_all_users(), lib_link_id_embedded_id(), memfile_undosys_step_decode(), blender::nodes::NodeTreeRef::name(), new_node_tree_exec(), node_add_group_exec(), node_add_group_get_and_poll_group_node_tree(), node_clipboard_paste_exec(), node_context(), node_draw_space(), node_error_message_log(), node_file_output_socket_draw(), node_group_has_output_dfs(), node_group_make_insert_selected(), node_group_separate_selected(), node_group_ungroup(), node_mouse_select(), node_select_single(), node_update_basis(), nodeRemoveNode(), blender::nodes::NodeTreeRef::NodeTreeRef(), ntree_blend_write(), ntree_free_data(), ntree_has_drivers(), ntree_interface_identifier(), ntree_interface_identifier_base(), ntree_shader_groups_flatten(), ntreeAddTree(), ntreeBlendReadLib(), ntreeBlendWrite(), ntreeFreeEmbeddedTree(), ntreeFreeLocalNode(), ntreeFreeLocalTree(), ntreeFreeTree(), ntreeLocalize(), ntreeUpdateTree(), proj_paint_add_slot(), snode_dag_update(), ui_node_draw_input(), ui_node_draw_node(), ui_node_link_items(), update_mapping_node_inputs_and_properties(), and write_file_handle().

◆ idname

char bNodeTree::idname[64]

◆ init

int bNodeTree::init

◆ inputs

ListBase bNodeTree::inputs

◆ interface_type

struct StructRNA* bNodeTree::interface_type

Runtime RNA type of the group interface.

Definition at line 437 of file DNA_node_types.h.

Referenced by ntree_blend_write(), ntree_copy_data(), ntree_interface_type_create(), ntreeBlendReadData(), ntreeInterfaceTypeFree(), and ntreeInterfaceTypeGet().

◆ is_updating

short bNodeTree::is_updating

Flag to prevent re-entrant update calls.

Definition at line 457 of file DNA_node_types.h.

Referenced by node_link_exit(), nodeUpdate(), nodeUpdateID(), ntree_blend_write(), ntreeBlendReadData(), and ntreeUpdateTree().

◆ links

ListBase bNodeTree::links

Definition at line 444 of file DNA_node_types.h.

Referenced by add_reroute_exec(), ambient_occlusion_node_relink(), blo_do_versions_250(), cmp_node_image_verify_outputs(), count_mutli_input_socket_links(), cut_links_exec(), displacement_node_insert(), do_versions_after_linking_260(), do_versions_material_convert_legacy_blend_mode(), do_versions_nodetree_socket_use_flags_2_62(), ed_node_link_conditions(), ED_node_link_insert(), ED_node_link_intersect_test(), flatten_group_do(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), lib_node_do_versions_group_indices(), light_emission_node_to_energy(), mute_links_exec(), node_clipboard_copy_exec(), node_count_links(), node_draw_nodetree(), node_duplicate_exec(), node_get_deplist_recurs(), node_group_input_update(), node_group_make_insert_selected(), node_group_make_test_selected(), node_group_output_update(), node_group_separate_selected(), node_group_ungroup(), node_insert_link_default(), node_is_connected_to_output_recursive(), node_link_cancel(), node_link_exit(), node_link_find_socket(), node_link_init(), node_link_modal(), node_link_viewer(), node_remove_extra_links(), node_reroute_inherit_type_recursive(), node_select_linked_from_exec(), node_select_linked_to_exec(), node_update_internal_links_default(), nodeAddLink(), nodeChainIter(), nodeCountSocketLinks(), nodeFindLink(), nodeInternalRelink(), nodeMuteFromSocketLinks(), nodeMuteRerouteInputLinks(), nodeMuteRerouteOutputLinks(), nodeRemLink(), nodeRemoveAllSockets(), nodeRemoveSocket(), nodeRemSocketLinks(), blender::nodes::NodeTreeRef::NodeTreeRef(), nodeUnlinkNode(), ntree_check_nodes_connected_dfs(), ntree_copy_data(), ntree_free_data(), ntree_shader_bypass_tagged_bump_nodes(), ntree_shader_copy_branch(), ntree_update_link_pointers(), ntree_validate_links(), ntreeBlendReadData(), ntreeBlendWrite(), ntreeTagUsedSockets(), pick_input_link_by_link_intersect(), pick_link(), sort_multi_input_socket_links(), square_roughness_node_insert(), update_mapping_node_inputs_and_properties(), update_musgrave_node_color_output(), update_vector_math_node_add_and_subtract_operators(), update_vector_math_node_average_operator(), update_vector_math_node_cross_product_operator(), update_vector_math_node_dot_product_operator(), update_vector_math_node_normalize_operator(), update_voronoi_node_coloring(), update_voronoi_node_crackle(), update_voronoi_node_square_distance(), version_node_join_geometry_for_multi_input_socket(), and version_node_socket_duplicate().

◆ nodes

ListBase bNodeTree::nodes

Definition at line 444 of file DNA_node_types.h.

Referenced by blender::compositor::NodeGraph::add_proxies_group(), ambient_occlusion_node_relink(), animdata_filter_ds_nodetree(), bc_get_master_shader(), BKE_bpath_traverse_id(), BKE_linestyle_use_textures(), BKE_node_copy_ex(), BKE_node_is_connected_to_output(), BKE_node_tree_unlink_id(), BKE_nodetree_remove_layer_n(), BKE_view_layer_rename(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), blo_do_versions_280(), blo_do_versions_290(), blender::deg::DepsgraphNodeBuilder::build_nodetree(), blender::deg::DepsgraphRelationBuilder::build_nodetree(), buttons_texture_users_find_nodetree(), check_valid_compositing_camera(), compo_tag_output_nodes(), composite_patch(), compositor_needs_render(), count_mutli_input_socket_links(), createTransNodeData(), detach_links_exec(), do_lasso_select_node(), do_render_compositor_scenes(), do_version_ntree_242_2(), do_versions_after_linking_250(), do_versions_after_linking_270(), do_versions_after_linking_290(), do_versions_after_linking_cycles(), do_versions_compositor_render_passes(), do_versions_nodetree_convert_angle(), do_versions_nodetree_customnodes(), do_versions_nodetree_file_output_layers_2_64_5(), do_versions_nodetree_frame_2_64_6(), do_versions_nodetree_image_default_alpha_output(), do_versions_nodetree_image_layer_2_64_5(), do_versions_nodetree_multi_file_output_format_2_62_1(), do_versions_nodetree_multi_file_output_path_2_63_1(), do_versions_nodetree_socket_use_flags_2_62(), draw_nodespace_back_pix(), ed_node_link_conditions(), ED_node_set_active(), ED_node_sort(), flatten_group_do(), free_cache(), free_localized_node_groups(), Freestyle::BlenderStrokeRenderer::GetStrokeShader(), group_copy_inputs(), group_copy_outputs(), group_gpu_copy_inputs(), group_gpu_move_outputs(), group_move_outputs(), image_walk_ntree_all_users(), local_merge(), localize(), node_attach_invoke(), node_box_select_exec(), node_circleselect_exec(), node_clipboard_copy_exec(), node_connected_to_output(), node_context(), node_copy_color_exec(), node_delete_exec(), node_delete_reconnect_exec(), node_deselect_all(), node_deselect_all_input_sockets(), node_deselect_all_output_sockets(), node_detach_exec(), node_draw_frame_prepare(), node_draw_nodetree(), node_duplicate_exec(), node_find_frame_to_attach(), node_find_indicated_socket(), node_find_update_fn(), node_flag_toggle_exec(), node_foreach_cache(), node_foreach_id(), node_free_node(), node_get_active_id_recursive(), node_get_selected_minmax(), node_group_has_output_dfs(), node_group_make_exec(), node_group_make_insert_selected(), node_group_make_test_selected(), node_group_separate_selected(), node_group_ungroup(), node_insert_offset_modal(), node_join_exec(), node_link_insert_offset_frame_chains(), node_link_insert_offset_ntree(), node_link_viewer(), node_mouse_select(), node_mute_exec(), node_parent_set_exec(), node_preview_init_tree_recursive(), node_preview_tag_used_recursive(), node_read_viewlayers_exec(), node_remove_linked(), node_render_changed_exec(), node_select_all_exec(), node_select_grouped_color(), node_select_grouped_exec(), node_select_grouped_name(), node_select_grouped_type(), node_select_linked_from_exec(), node_select_linked_to_exec(), node_select_single(), node_set_cursor(), node_shader_script_update_text_recursive(), node_socket_add_replace(), node_socket_toggle_exec(), node_switch_view_exec(), node_tree_has_compositor_output(), node_uiblocks_init(), node_under_mouse_select(), node_under_mouse_tweak(), node_unlink_attached(), node_update_nodetree(), nodeAddNode(), nodeChainIterBackwards(), nodeClearActive(), nodeClearActiveID(), nodeFindNode(), nodeFindNodebyName(), nodeGetActive(), nodeGetActiveTexture(), nodeGroupPoll(), nodeSetActive(), nodeSetActiveID(), blender::nodes::NodeTreeRef::NodeTreeRef(), nodeUniqueName(), nodeUpdateID(), ntree_copy_data(), ntree_foreach_texnode_recursive(), ntree_free_data(), ntree_get_active_iuser(), ntree_shader_copy_branch(), ntree_shader_groups_expand_inputs(), ntree_shader_groups_flatten(), ntree_shader_link_builtin_normal(), ntree_shader_unlink_hidden_value_sockets(), ntree_update_link_pointers(), ntree_update_node_level(), ntree_update_reroute_nodes(), ntree_version_241(), ntree_version_242(), ntree_version_245(), ntreeBlendReadData(), ntreeBlendReadExpand(), ntreeBlendReadLib(), ntreeBlendWrite(), ntreeCompositClearTags(), ntreeCompositRegisterPass(), ntreeCompositUpdateRLayers(), ntreeCopyTree_ex_new_pointers(), ntreeFindType(), ntreeGetDependencyList(), ntreeGPUMaterialNodes(), ntreeHasTree(), ntreeLocalize(), ntreeNodeExists(), ntreeNodeFlagSet(), ntreeSetOutput(), ntreeSetTypes(), ntreeShaderOutputNode(), ntreeTagUsedSockets(), ntreeTexCheckCyclics(), ntreeUpdateAllNew(), ntreeUpdateAllUsers(), ntreeUpdateTree(), snapNodes(), snode_autoconnect(), space_node_view_flag(), special_aftertrans_update__node(), square_roughness_node_insert(), texture_changed(), texture_nodes_fetch_images_for_pool(), uiTemplateNodeView(), update_mapping_node_inputs_and_properties(), update_math_node_single_operand_operators(), update_musgrave_node_dimensions(), update_noise_and_wave_distortion(), update_noise_node_dimensions(), update_typeinfo(), update_vector_math_node_add_and_subtract_operators(), update_vector_math_node_average_operator(), update_vector_math_node_cross_product_operator(), update_vector_math_node_dot_product_operator(), update_vector_math_node_normalize_operator(), update_vector_math_node_operators_enum_mapping(), update_voronoi_node_crackle(), update_voronoi_node_dimensions(), update_voronoi_node_f3_and_f4(), update_voronoi_node_fac_output(), update_voronoi_node_square_distance(), update_wave_node_directions_and_offset(), version_node_join_geometry_for_multi_input_socket(), version_node_socket_duplicate(), version_node_socket_name(), and visible_node().

◆ outputs

ListBase bNodeTree::outputs

◆ previews

struct bNodeInstanceHash* bNodeTree::previews

◆ prh

void * bNodeTree::prh

◆ progress

void(* bNodeTree::progress) (void *, float progress)

◆ render_quality

short bNodeTree::render_quality

Quality setting when rendering.

Definition at line 468 of file DNA_node_types.h.

Referenced by ED_node_composit_default(), and blender::compositor::ExecutionSystem::ExecutionSystem().

◆ sdh

void * bNodeTree::sdh

◆ stats_draw

void(* bNodeTree::stats_draw) (void *, const char *str)

◆ tbh

void* bNodeTree::tbh

◆ test_break

int(* bNodeTree::test_break) (void *)

◆ type

int bNodeTree::type

◆ typeinfo

struct bNodeTreeType* bNodeTree::typeinfo

◆ udh

void * bNodeTree::udh

◆ ui_storage

struct NodeTreeUIStorage* bNodeTree::ui_storage

◆ update

int bNodeTree::update

◆ update_draw

void(* bNodeTree::update_draw) (void *)

◆ view_center

float bNodeTree::view_center[2]

Node tree stores own offset for consistent editor view.

Definition at line 442 of file DNA_node_types.h.

Referenced by ED_node_tree_push(), ED_node_tree_start(), and node_draw_space().

◆ viewer_border

rctf bNodeTree::viewer_border

The documentation for this struct was generated from the following file: