|
Blender V4.3
|
#include <cstdio>#include "BLI_string.h"#include "DNA_color_types.h"#include "DNA_node_types.h"#include "DNA_scene_types.h"#include "BKE_context.hh"#include "BKE_global.hh"#include "BKE_image.hh"#include "BKE_main.hh"#include "BKE_node.hh"#include "BKE_node_runtime.hh"#include "BKE_node_tree_update.hh"#include "BKE_tracking.h"#include "UI_resources.hh"#include "node_common.h"#include "RNA_prototypes.hh"#include "NOD_composite.hh"#include "node_composite_util.hh"Go to the source code of this file.
Variables | |
| blender::bke::bNodeTreeType * | ntreeType_Composite |
|
static |
Definition at line 39 of file node_composite_tree.cc.
References CTX_data_scene().
Referenced by register_node_tree_type_cmp().
Definition at line 134 of file node_composite_tree.cc.
References bNode::flag, NODE_CLASS_INPUT, and bNode::typeinfo.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 144 of file node_composite_tree.cc.
References ELEM, blender::bke::node_is_static_socket_type(), SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, and blender::bke::bNodeSocketType::type.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 52 of file node_composite_tree.cc.
References N_, NODE_CLASS_CONVERTER, NODE_CLASS_DISTORT, NODE_CLASS_GROUP, NODE_CLASS_INPUT, NODE_CLASS_INTERFACE, NODE_CLASS_LAYOUT, NODE_CLASS_MATTE, NODE_CLASS_OP_COLOR, NODE_CLASS_OP_FILTER, NODE_CLASS_OP_VECTOR, and NODE_CLASS_OUTPUT.
Referenced by register_node_tree_type_cmp().
Definition at line 98 of file node_composite_tree.cc.
References BKE_image_merge(), BKE_tracking_distortion_copy(), BKE_tracking_distortion_free(), LISTBASE_FOREACH, NODE_DO_OUTPUT, blender::bke::node_find_node_by_name(), blender::bke::node_preview_merge_tree(), and bNodeTree::nodes.
Referenced by register_node_tree_type_cmp().
Definition at line 68 of file node_composite_tree.cc.
References ListBase::first, bNode::id, bNode::next, ID::next, node, NODE_DO_OUTPUT, bNodeTree::nodes, and bNode::runtime.
Referenced by register_node_tree_type_cmp().
| void ntreeCompositClearTags | ( | bNodeTree * | ntree | ) |
Definition at line 237 of file node_composite_tree.cc.
References NODE_GROUP, and ntreeCompositClearTags().
Referenced by ntreeCompositClearTags(), and render_endjob().
| void ntreeCompositExecTree | ( | Render * | render, |
| Scene * | scene, | ||
| bNodeTree * | ntree, | ||
| RenderData * | rd, | ||
| const char * | view_name, | ||
| blender::realtime_compositor::RenderContext * | render_context, | ||
| blender::realtime_compositor::Profiler * | profiler ) |
Definition at line 178 of file node_composite_tree.cc.
References COM_execute(), and UNUSED_VARS.
Referenced by blender::ed::space_node::compo_startjob(), and do_render_compositor().
| void ntreeCompositTagNeedExec | ( | bNode * | node | ) |
Definition at line 253 of file node_composite_tree.cc.
| void ntreeCompositTagRender | ( | Scene * | scene | ) |
Called from render pipeline, to tag render input and output. need to do all scenes, to prevent errors when you re-render 1 scene.
Definition at line 213 of file node_composite_tree.cc.
References BKE_ntree_update_main(), BKE_ntree_update_tag_node_property(), CMP_NODE_COMPOSITE, and G_MAIN.
Referenced by do_render_compositor(), blender::ed::space_node::node_read_viewlayers_exec(), and render_init_from_main().
| void ntreeCompositUpdateRLayers | ( | bNodeTree * | ntree | ) |
Update the outputs of the render layer nodes. Since the outputs depend on the render engine, this part is a bit complex:
Definition at line 195 of file node_composite_tree.cc.
References CMP_NODE_CRYPTOMATTE_SOURCE_RENDER, and node_cmp_rlayers_outputs().
Referenced by ED_render_engine_changed(), view_layer_add_aov_exec(), view_layer_add_lightgroup_exec(), view_layer_add_used_lightgroups_exec(), view_layer_remove_aov_exec(), view_layer_remove_lightgroup_exec(), view_layer_remove_unused_lightgroups_exec(), and wm_file_read_post().
| void register_node_tree_type_cmp | ( | ) |
Definition at line 153 of file node_composite_tree.cc.
References composite_get_from_context(), composite_node_add_init(), composite_node_tree_socket_type_valid(), blender::bke::bNodeTreeType::foreach_nodeclass, foreach_nodeclass(), blender::bke::bNodeTreeType::get_from_context, blender::bke::bNodeTreeType::group_idname, blender::bke::bNodeTreeType::idname, blender::bke::bNodeTreeType::local_merge, local_merge(), blender::bke::bNodeTreeType::localize, localize(), N_, blender::bke::bNodeTreeType::node_add_init, blender::bke::node_tree_type_add(), NTREE_COMPOSIT, ntreeType_Composite, blender::bke::bNodeTreeType::rna_ext, ExtensionRNA::srna, STRNCPY, blender::bke::bNodeTreeType::type, blender::bke::bNodeTreeType::ui_description, blender::bke::bNodeTreeType::ui_icon, blender::bke::bNodeTreeType::ui_name, blender::bke::bNodeTreeType::update, update(), and blender::bke::bNodeTreeType::valid_socket_type.
Referenced by register_composite_nodes().
|
static |
Definition at line 127 of file node_composite_tree.cc.
References blender::bke::node_tree_set_output(), and ntree_update_reroute_nodes().
Referenced by blender::draw::curves_cache_get(), CustomData_external_read(), CustomData_external_write(), ObjectManager::device_update_geom_offsets(), blender::draw::drw_curves_cache_get(), drw_hair_particle_cache_get(), EDBM_automerge(), EDBM_automerge_and_split(), EEVEE_NEXT_lightbake_update(), filelist_setfilter_options(), gizmo_modal(), GPU_texture_update(), blender::draw::hair_particle_cache_get(), blender::bke::pbvh::merge_child_bounds(), blender::ed::mesh::set_attribute::mesh_set_attribute_exec(), register_node_tree_type_cmp(), rna_def_mtex_common(), btDbvtBroadphase::setAabb(), stabilize_2d_add_exec(), stabilize_2d_remove_exec(), stabilize_2d_rotation_add_exec(), stabilize_2d_rotation_remove_exec(), stabilize_2d_rotation_select_exec(), stabilize_2d_select_exec(), text_refresh_pyconstraints_exec(), blender::bke::BuiltinCustomDataLayerProvider::try_get_for_write(), ui_do_but_textedit(), ui_handle_menu_return_submenu(), uvedit_uv_straighten_elements(), WM_jobs_callbacks(), WM_jobs_callbacks_ex(), wm_keymap_test_and_clear_update(), and wm_platform_support_check_approval().
| blender::bke::bNodeTreeType* ntreeType_Composite |
Definition at line 151 of file node_composite_tree.cc.
Referenced by ED_node_composit_default(), ED_node_is_compositor(), blender::ed::space_node::node_group_idname(), and register_node_tree_type_cmp().