|
Blender V4.3
|
#include "BKE_node.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::realtime_compositor |
| namespace | blender::bke |
Variables | |
| blender::bke::bNodeTreeType * | ntreeType_Composite |
Definition at line 524 of file node_composite_image.cc.
References cmp_node_image_verify_outputs().
Referenced by ntreeCompositUpdateRLayers(), and register_node_type_cmp_rlayers().
| void node_cmp_rlayers_register_pass | ( | bNodeTree * | ntree, |
| bNode * | node, | ||
| Scene * | scene, | ||
| ViewLayer * | view_layer, | ||
| const char * | name, | ||
| eNodeSocketDatatype | type ) |
Definition at line 225 of file node_composite_image.cc.
References BLI_findlink(), cmp_node_image_add_pass_output(), RE_PASSNAME_COMBINED, SOCK_FLOAT, and STREQ.
Referenced by cmp_node_rlayer_create_outputs(), and cmp_node_rlayer_create_outputs_cb().
| const char * node_cmp_rlayers_sock_to_pass | ( | int | sock_index | ) |
Definition at line 529 of file node_composite_image.cc.
References cmp_node_rlayers_out, blender::bke::bNodeSocketTemplate::name, NUM_LEGACY_SOCKETS, RE_PASSNAME_COMBINED, and STREQ.
Referenced by do_versions_compositor_render_passes_storage(), and blender::nodes::node_composite_render_layer_cc::node_composit_init_rlayers().
| 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().
Definition at line 42 of file node_composite_colorbalance.cc.
References NodeColorBalance::gain, NodeColorBalance::gamma, NodeColorBalance::lift, NodeColorBalance::offset, NodeColorBalance::power, and NodeColorBalance::slope.
Referenced by blo_do_versions_260().
Definition at line 31 of file node_composite_colorbalance.cc.
References NodeColorBalance::gain, NodeColorBalance::gamma, NodeColorBalance::lift, NodeColorBalance::offset, NodeColorBalance::power, and NodeColorBalance::slope.
Referenced by blo_do_versions_260().
| bNodeSocket * ntreeCompositCryptomatteAddSocket | ( | bNodeTree * | ntree, |
| bNode * | node ) |
Definition at line 805 of file node_composite_cryptomatte.cc.
References BLI_assert, NodeCryptomatte::inputs_num, blender::bke::node_add_static_socket(), PROP_NONE, SNPRINTF, SOCK_IN, and SOCK_RGBA.
Referenced by blender::ed::space_node::node_cryptomatte_add_socket_exec(), and blender::nodes::node_composite_legacy_cryptomatte_cc::node_init_cryptomatte_legacy().
| void ntreeCompositCryptomatteLayerPrefix | ( | const bNode * | node, |
| char * | r_prefix, | ||
| size_t | prefix_maxncpy ) |
Definition at line 191 of file node_composite_cryptomatte.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_layer_names_get(), BLI_assert, BLI_strncpy(), cryptomatte_init_from_node(), and NodeCryptomatte::layer_name.
Referenced by eyedropper_cryptomatte_sample_fl(), blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation::get_type_name(), and blender::compositor::prefix_from_node().
Definition at line 817 of file node_composite_cryptomatte.cc.
References BLI_assert, NodeCryptomatte::inputs_num, and blender::bke::node_remove_socket().
Referenced by blender::ed::space_node::node_cryptomatte_remove_socket_exec().
| CryptomatteSession * ntreeCompositCryptomatteSession | ( | bNode * | node | ) |
Definition at line 218 of file node_composite_cryptomatte.cc.
References cryptomatte_init_from_node().
Referenced by eyedropper_init().
| void ntreeCompositCryptomatteSyncFromAdd | ( | bNode * | node | ) |
Definition at line 152 of file node_composite_cryptomatte.cc.
References NodeCryptomatte_Runtime::add, BLI_assert, cryptomatte_add(), ELEM, NodeCryptomatte::runtime, and zero_v3().
| void ntreeCompositCryptomatteSyncFromRemove | ( | bNode * | node | ) |
Definition at line 162 of file node_composite_cryptomatte.cc.
References BLI_assert, cryptomatte_remove(), ELEM, NodeCryptomatte_Runtime::remove, NodeCryptomatte::runtime, and zero_v3().
| void ntreeCompositCryptomatteUpdateLayerNames | ( | bNode * | node | ) |
Update the runtime layer names with the crypto-matte layer names of the references render layer or image.
Definition at line 171 of file node_composite_cryptomatte.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_layer_names_get(), BLI_addtail(), BLI_assert, BLI_freelistN(), cryptomatte_init_from_node(), NodeCryptomatte_Runtime::layers, and NodeCryptomatte::runtime.
Referenced by blender::nodes::node_composite_cryptomatte_cc::node_update_cryptomatte().
| 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().
| bNodeSocket * ntreeCompositOutputFileAddSocket | ( | bNodeTree * | ntree, |
| bNode * | node, | ||
| const char * | name, | ||
| const ImageFormatData * | im_format ) |
Definition at line 141 of file node_composite_file_output.cc.
References NodeImageMultiFile::active_input, BKE_image_format_copy(), BKE_image_format_init(), BKE_image_format_update_color_space_for_type(), BKE_imtype_is_movie(), BLI_findindex(), ImageFormatData::color_management, NodeImageMultiFileSocket::format, ImageFormatData::imtype, NodeImageMultiFileSocket::layer, blender::bke::node_add_static_socket(), ntreeCompositOutputFileUniqueLayer(), ntreeCompositOutputFileUniquePath(), NodeImageMultiFileSocket::path, PROP_NONE, R_IMF_COLOR_MANAGEMENT_FOLLOW_SCENE, R_IMF_IMTYPE_OPENEXR, NodeImageMultiFileSocket::save_as_render, SOCK_IN, SOCK_RGBA, bNodeSocket::storage, STRNCPY_UTF8, and NodeImageMultiFileSocket::use_node_format.
Referenced by do_versions_nodetree_multi_file_output_format_2_62_1(), blender::nodes::node_composite_file_output_cc::init_output_file(), and blender::ed::space_node::node_output_file_add_socket_exec().
Definition at line 180 of file node_composite_file_output.cc.
References NodeImageMultiFile::active_input, BLI_findlink(), BLI_listbase_count(), MEM_freeN(), blender::bke::node_remove_socket(), and bNodeSocket::storage.
Referenced by blender::ed::space_node::node_output_file_remove_active_socket_exec().
| void ntreeCompositOutputFileSetLayer | ( | bNode * | node, |
| bNodeSocket * | sock, | ||
| const char * | name ) |
Definition at line 208 of file node_composite_file_output.cc.
References NodeImageMultiFileSocket::layer, ntreeCompositOutputFileUniqueLayer(), bNodeSocket::storage, and STRNCPY_UTF8.
| void ntreeCompositOutputFileSetPath | ( | bNode * | node, |
| bNodeSocket * | sock, | ||
| const char * | name ) |
Definition at line 201 of file node_composite_file_output.cc.
References ntreeCompositOutputFileUniquePath(), NodeImageMultiFileSocket::path, bNodeSocket::storage, and STRNCPY_UTF8.
| void ntreeCompositOutputFileUniqueLayer | ( | ListBase * | list, |
| bNodeSocket * | sock, | ||
| const char | defname[], | ||
| char | delim ) |
Definition at line 119 of file node_composite_file_output.cc.
References BLI_uniquename_cb(), data, ELEM, NodeImageMultiFileSocket::layer, bNodeSocket::storage, and unique_layer_unique_check().
Referenced by do_versions_nodetree_file_output_layers_2_64_5(), ntreeCompositOutputFileAddSocket(), and ntreeCompositOutputFileSetLayer().
| void ntreeCompositOutputFileUniquePath | ( | ListBase * | list, |
| bNodeSocket * | sock, | ||
| const char | defname[], | ||
| char | delim ) |
Definition at line 77 of file node_composite_file_output.cc.
References BLI_uniquename_cb(), data, ELEM, NodeImageMultiFileSocket::path, bNodeSocket::storage, and unique_path_unique_check().
Referenced by do_versions_nodetree_file_output_layers_2_64_5(), ntreeCompositOutputFileAddSocket(), and ntreeCompositOutputFileSetPath().
| 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_type_cmp_custom_group | ( | blender::bke::bNodeType * | ntype | ) |
Definition at line 44 of file node_composite_common.cc.
References cmp_node_poll_default(), blender::bke::bNodeType::declare, blender::bke::bNodeType::insert_link, blender::nodes::node_group_declare(), node_insert_link_default(), and blender::bke::bNodeType::poll.
|
extern |
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().