Blender
V3.3
|
#include <cstdio>
#include "DNA_color_types.h"
#include "DNA_node_types.h"
#include "DNA_scene_types.h"
#include "BLT_translation.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_image.h"
#include "BKE_main.h"
#include "BKE_node.h"
#include "BKE_node_tree_update.h"
#include "BKE_tracking.h"
#include "UI_resources.h"
#include "node_common.h"
#include "node_util.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "NOD_composite.h"
#include "node_composite_util.hh"
Go to the source code of this file.
Variables | |
bNodeTreeType * | ntreeType_Composite |
|
static |
Definition at line 39 of file node_composite_tree.cc.
References C, CTX_data_scene(), Scene::id, Scene::nodetree, and scene.
Referenced by register_node_tree_type_cmp().
Definition at line 161 of file node_composite_tree.cc.
References bNode::flag, bNodeType::nclass, NODE_CLASS_INPUT, NODE_PREVIEW, and bNode::typeinfo.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 171 of file node_composite_tree.cc.
References ELEM, nodeIsStaticSocketType(), SOCK_FLOAT, SOCK_RGBA, SOCK_VECTOR, and 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 76 of file node_composite_tree.cc.
References free_node_cache(), LISTBASE_FOREACH, node, bNodeTree::nodes, and ntree.
Referenced by register_node_tree_type_cmp().
Definition at line 67 of file node_composite_tree.cc.
References LISTBASE_FOREACH, and node.
Referenced by free_cache(), and register_node_tree_type_cmp().
Definition at line 114 of file node_composite_tree.cc.
References BKE_image_merge(), BKE_node_preview_merge_tree(), BKE_tracking_distortion_copy(), BKE_tracking_distortion_free(), bNodeSocket::cache, CMP_NODE_MOVIEDISTORTION, CMP_NODE_SPLITVIEWER, CMP_NODE_VIEWER, ELEM, ListBase::first, bNode::flag, bNode::id, bNodeSocket::identifier, bNode::name, bNodeSocket::next, bNode::next, NODE_DO_OUTPUT, nodeFindNodebyName(), nodeFindSocket(), bNodeTree::nodes, ntree, bNode::outputs, SOCK_OUT, bNode::storage, and bNode::type.
Referenced by register_node_tree_type_cmp().
Definition at line 84 of file node_composite_tree.cc.
References CMP_NODE_SPLITVIEWER, CMP_NODE_VIEWER, ELEM, ListBase::first, node, NODE_DO_OUTPUT, bNodeTree::nodes, and ntree.
Referenced by register_node_tree_type_cmp().
Definition at line 260 of file node_composite_tree.cc.
References LISTBASE_FOREACH, node, NODE_GROUP, bNodeTree::nodes, and ntree.
Referenced by render_endjob().
void ntreeCompositExecTree | ( | Scene * | scene, |
bNodeTree * | ntree, | ||
RenderData * | rd, | ||
int | rendering, | ||
int | do_preview, | ||
const char * | view_name | ||
) |
Definition at line 205 of file node_composite_tree.cc.
References COM_execute(), ntree, scene, and UNUSED_VARS.
Referenced by blender::ed::space_node::compo_startjob(), and do_render_compositor().
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 236 of file node_composite_tree.cc.
References BKE_ntree_update_main(), BKE_ntree_update_tag_node_property(), CMP_NODE_COMPOSITE, CMP_NODE_TEXTURE, G_MAIN, LISTBASE_FOREACH, node, and scene.
Referenced by do_render_compositor(), blender::ed::space_node::node_read_viewlayers_exec(), and render_init_from_main().
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 223 of file node_composite_tree.cc.
References CMP_NODE_R_LAYERS, LISTBASE_FOREACH, node, node_cmp_rlayers_outputs(), bNodeTree::nodes, and ntree.
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(), and view_layer_remove_unused_lightgroups_exec().
Definition at line 180 of file node_composite_tree.cc.
References composite_get_from_context(), composite_node_add_init(), composite_node_tree_socket_type_valid(), foreach_nodeclass(), bNodeTreeType::foreach_nodeclass, free_cache(), bNodeTreeType::free_cache, free_node_cache(), bNodeTreeType::free_node_cache, bNodeTreeType::get_from_context, bNodeTreeType::idname, local_merge(), bNodeTreeType::local_merge, localize(), bNodeTreeType::localize, N_, bNodeTreeType::node_add_init, NTREE_COMPOSIT, ntreeType_Composite, ntreeTypeAdd(), bNodeTreeType::rna_ext, ExtensionRNA::srna, bNodeTreeType::type, bNodeTreeType::ui_description, bNodeTreeType::ui_icon, bNodeTreeType::ui_name, update(), bNodeTreeType::update, and bNodeTreeType::valid_socket_type.
Referenced by BKE_node_system_init().
Definition at line 154 of file node_composite_tree.cc.
References ntree, ntree_update_reroute_nodes(), and ntreeSetOutput().
Referenced by BLI_STATIC_ASSERT(), CustomData_external_read(), CustomData_external_write(), ObjectManager::device_update_geom_offsets(), drw_curves_cache_get(), drw_hair_particle_cache_get(), ED_preview_icon_render(), EDBM_automerge(), EDBM_automerge_and_split(), EEVEE_shadows_caster_register(), EEVEE_shadows_cube_add(), EEVEE_shadows_cube_setup(), Freestyle::Canvas::Erase(), filelist_setfilter_options(), generate_geometry(), gizmo_modal(), GPU_texture_update(), mask_filter_task_cb(), pbvh_flush_bb(), Freestyle::Canvas::postDraw(), register_node_tree_type_cmp(), rna_def_mtex_common(), sculpt_undo_restore_list(), 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_delete(), blender::bke::BuiltinCustomDataLayerProvider::try_get_for_write(), blender::bke::BuiltinPointAttributeProvider< T >::try_get_for_write(), ui_do_but_textedit(), ui_handle_menu_return_submenu(), update_cb_partial(), GHOST_ContextCGL::updateDrawingContext(), uvedit_uv_straighten_elements(), WM_jobs_callbacks(), WM_jobs_callbacks_ex(), wm_keymap_test_and_clear_update(), and wm_platform_support_check_approval().
bNodeTreeType* ntreeType_Composite |
Definition at line 178 of file node_composite_tree.cc.
Referenced by ED_node_composit_default(), ED_node_is_compositor(), and register_node_tree_type_cmp().