|
Blender V4.5
|
#include "DNA_node_types.h"#include "DNA_scene_types.h"#include "BLI_listbase.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.
Functions | |
| static void | composite_get_from_context (const bContext *C, blender::bke::bNodeTreeType *, bNodeTree **r_ntree, ID **r_id, ID **r_from) |
| static void | foreach_nodeclass (void *calldata, blender::bke::bNodeClassCallback func) |
| static void | localize (bNodeTree *localtree, bNodeTree *ntree) |
| static void | local_merge (Main *bmain, bNodeTree *localtree, bNodeTree *ntree) |
| static void | update (bNodeTree *ntree) |
| static void | composite_node_add_init (bNodeTree *, bNode *bnode) |
| static bool | composite_node_tree_socket_type_valid (blender::bke::bNodeTreeType *, blender::bke::bNodeSocketType *socket_type) |
| static bool | composite_validate_link (eNodeSocketDatatype, eNodeSocketDatatype) |
| void | register_node_tree_type_cmp () |
| void | ntreeCompositUpdateRLayers (bNodeTree *ntree) |
| void | ntreeCompositTagRender (Scene *scene) |
| void | ntreeCompositClearTags (bNodeTree *ntree) |
| void | ntreeCompositTagNeedExec (bNode *node) |
Variables | |
| blender::bke::bNodeTreeType * | ntreeType_Composite |
|
static |
Definition at line 32 of file node_composite_tree.cc.
References C, CTX_data_scene(), Scene::id, and Scene::nodetree.
Referenced by register_node_tree_type_cmp().
Definition at line 127 of file node_composite_tree.cc.
References bNode::flag, NODE_CLASS_INPUT, NODE_PREVIEW, and bNode::typeinfo.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 137 of file node_composite_tree.cc.
References ELEM, blender::bke::node_is_static_socket_type(), SOCK_BOOLEAN, SOCK_FLOAT, SOCK_INT, SOCK_RGBA, SOCK_VECTOR, and blender::bke::bNodeSocketType::type.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 144 of file node_composite_tree.cc.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 45 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(), register_node_tree_type_geo(), register_node_tree_type_sh(), and register_node_tree_type_tex().
Definition at line 91 of file node_composite_tree.cc.
References BKE_image_merge(), BKE_tracking_distortion_copy(), BKE_tracking_distortion_free(), CMP_NODE_MOVIEDISTORTION, CMP_NODE_VIEWER, 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 61 of file node_composite_tree.cc.
References CMP_NODE_VIEWER, ListBase::first, bNode::flag, bNode::id, bNode::next, NODE_DO_OUTPUT, bNodeTree::nodes, bNode::runtime, and bNode::type_legacy.
Referenced by register_node_tree_type_cmp(), register_node_tree_type_sh(), and register_node_tree_type_tex().
| void ntreeCompositClearTags | ( | bNodeTree * | ntree | ) |
Definition at line 222 of file node_composite_tree.cc.
References ntreeCompositClearTags().
Referenced by ntreeCompositClearTags(), and render_endjob().
| void ntreeCompositTagNeedExec | ( | bNode * | node | ) |
Definition at line 238 of file node_composite_tree.cc.
References bNode::runtime.
| 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 198 of file node_composite_tree.cc.
References BKE_ntree_update(), BKE_ntree_update_tag_node_property(), CMP_NODE_COMPOSITE, CMP_NODE_TEXTURE, and G_MAIN.
Referenced by blender::ed::space_node::node_read_viewlayers_exec().
| 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 180 of file node_composite_tree.cc.
References CMP_NODE_CRYPTOMATTE, CMP_NODE_CRYPTOMATTE_SOURCE_RENDER, CMP_NODE_R_LAYERS, 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 152 of file node_composite_tree.cc.
References composite_get_from_context(), composite_node_add_init(), composite_node_tree_socket_type_valid(), composite_validate_link(), 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, blender::bke::bNodeTreeType::type, blender::bke::bNodeTreeType::ui_description, blender::bke::bNodeTreeType::ui_icon, blender::bke::bNodeTreeType::ui_name, blender::bke::bNodeTreeType::update, update(), blender::bke::bNodeTreeType::valid_socket_type, and blender::bke::bNodeTreeType::validate_link.
Referenced by register_nodes().
|
static |
Definition at line 120 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_lightbake_update(), filelist_setfilter_options(), blender::ed::transform::gizmo_modal(), blender::draw::hair_particle_cache_get(), blender::eevee::Film::init(), blender::ed::mesh::set_attribute::mesh_set_attribute_exec(), register_node_tree_type_cmp(), register_node_tree_type_sh(), register_node_tree_type_tex(), register_node_type_tex_combine_color(), register_node_type_tex_separate_color(), rna_AnimaData_override_apply(), 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(), 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 150 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().