|
Blender
V2.93
|
#include <stdio.h>#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_main.h"#include "BKE_node.h"#include "BKE_tracking.h"#include "node_common.h"#include "node_util.h"#include "RNA_access.h"#include "NOD_composite.h"#include "node_composite_util.h"Go to the source code of this file.
Variables | |
| bNodeTreeType * | ntreeType_Composite |
| void * | COM_linker_hack = NULL |
|
static |
Definition at line 50 of file node_composite_tree.c.
References C, CTX_data_scene(), Scene::id, Scene::nodetree, NULL, and scene.
Referenced by register_node_tree_type_cmp().
Definition at line 198 of file node_composite_tree.c.
References bNode::flag, bNodeType::nclass, NODE_CLASS_INPUT, NODE_PREVIEW, and bNode::typeinfo.
Referenced by register_node_tree_type_cmp().
|
static |
Definition at line 63 of file node_composite_tree.c.
References N_, NODE_CLASS_CONVERTOR, 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().
|
static |
Definition at line 89 of file node_composite_tree.c.
References ListBase::first, free_node_cache(), node, bNodeTree::nodes, and ntree.
Referenced by register_node_tree_type_cmp().
Definition at line 78 of file node_composite_tree.c.
References bNodeSocket::cache, bNodeSocket::next, node, and NULL.
Referenced by free_cache(), and register_node_tree_type_cmp().
Definition at line 146 of file node_composite_tree.c.
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, bNode::new_node, bNodeSocket::new_sock, bNodeSocket::next, bNode::next, NODE_DO_OUTPUT, bNodeTree::nodes, ntree, ntreeNodeExists(), ntreeOutputExists(), NULL, bNode::outputs, bNode::storage, and bNode::type.
Referenced by register_node_tree_type_cmp().
Definition at line 141 of file node_composite_tree.c.
References BKE_node_preview_sync_tree(), and ntree.
Referenced by register_node_tree_type_cmp().
Definition at line 98 of file node_composite_tree.c.
References bNodeSocket::cache, CMP_NODE_SPLITVIEWER, CMP_NODE_VIEWER, ELEM, ListBase::first, bNode::id, bNodeSocket::new_sock, bNodeSocket::next, bNode::next, node, NODE_DO_OUTPUT, bNodeTree::nodes, ntree, NULL, bNode::original, and bNode::outputs.
Referenced by register_node_tree_type_cmp().
| void ntreeCompositClearTags | ( | bNodeTree * | ntree | ) |
Definition at line 328 of file node_composite_tree.c.
References ListBase::first, node, NODE_GROUP, bNodeTree::nodes, ntree, ntreeCompositClearTags(), and NULL.
Referenced by ntreeCompositClearTags(), and render_endjob().
| void ntreeCompositExecTree | ( | Scene * | scene, |
| bNodeTree * | ntree, | ||
| RenderData * | rd, | ||
| int | rendering, | ||
| int | do_preview, | ||
| const ColorManagedViewSettings * | view_settings, | ||
| const ColorManagedDisplaySettings * | display_settings, | ||
| const char * | view_name | ||
| ) |
Definition at line 239 of file node_composite_tree.c.
References COM_execute(), ntree, scene, and UNUSED_VARS.
| void ntreeCompositRegisterPass | ( | bNodeTree * | ntree, |
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| const char * | name, | ||
| eNodeSocketDatatype | type | ||
| ) |
Definition at line 283 of file node_composite_tree.c.
References CMP_NODE_R_LAYERS, ListBase::first, node, node_cmp_rlayers_register_pass(), bNodeTree::nodes, ntree, NULL, scene, and type.
Referenced by cmp_node_rlayer_create_outputs(), and cmp_node_rlayer_create_outputs_cb().
| void ntreeCompositTagRender | ( | Scene * | scene | ) |
Definition at line 304 of file node_composite_tree.c.
References CMP_NODE_COMPOSITE, CMP_NODE_TEXTURE, G_MAIN, node, nodeUpdate(), and scene.
Referenced by do_render_compositor(), node_read_viewlayers_exec(), and render_init_from_main().
| void ntreeCompositUpdateRLayers | ( | bNodeTree * | ntree | ) |
Definition at line 268 of file node_composite_tree.c.
References CMP_NODE_R_LAYERS, ListBase::first, node, node_cmp_rlayers_outputs(), bNodeTree::nodes, ntree, and NULL.
Referenced by ED_render_engine_changed(), view_layer_add_aov_exec(), and view_layer_remove_aov_exec().
| void register_node_tree_type_cmp | ( | void | ) |
Definition at line 210 of file node_composite_tree.c.
References composite_get_from_context(), composite_node_add_init(), 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, local_sync(), bNodeTreeType::local_sync, localize(), bNodeTreeType::localize, MEM_callocN, N_, bNodeTreeType::node_add_init, NTREE_COMPOSIT, ntreeType_Composite, ntreeTypeAdd(), RNA_CompositorNodeTree, bNodeTreeType::rna_ext, ExtensionRNA::srna, bNodeTreeType::type, bNodeTreeType::ui_description, bNodeTreeType::ui_icon, bNodeTreeType::ui_name, update(), and bNodeTreeType::update.
Referenced by BKE_node_system_init().
|
static |
Definition at line 186 of file node_composite_tree.c.
References BKE_node_preview_remove_unused(), ntree, NTREE_UPDATE_NODES, ntree_update_reroute_nodes(), ntreeSetOutput(), and bNodeTree::update.
Referenced by BLI_STATIC_ASSERT(), CustomData_external_read(), CustomData_external_write(), ObjectManager::device_update_mesh_offsets(), 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(), 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(), ui_do_but_textedit(), ui_handle_menu_return_submenu(), update_cb_partial(), GHOST_ContextCGL::updateDrawingContext(), WM_jobs_callbacks(), wm_keymap_test_and_clear_update(), and wm_platform_support_check_approval().
| void * COM_linker_hack = NULL |
Definition at line 237 of file node_composite_tree.c.
Referenced by WM_init().
| bNodeTreeType* ntreeType_Composite |
Definition at line 208 of file node_composite_tree.c.
Referenced by ED_node_composit_default(), ED_node_init_butfuncs(), ED_node_is_compositor(), and register_node_tree_type_cmp().