|
Blender V4.5
|
Go to the source code of this file.
Namespaces | |
| namespace | blender |
| namespace | blender::compositor |
| namespace | blender::bke |
| namespace | blender::nodes |
Variables | |
| blender::bke::bNodeTreeType * | ntreeType_Composite |
Definition at line 634 of file node_composite_image.cc.
References cmp_node_image_verify_outputs(), and node_cmp_rlayers_outputs().
Referenced by node_cmp_rlayers_outputs(), 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 319 of file node_composite_image.cc.
References BLI_findlink(), cmp_node_image_add_pass_output(), bNode::custom1, data, bNode::id, RE_PASSNAME_COMBINED, SOCK_FLOAT, bNode::storage, STREQ, and Scene::view_layers.
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 639 of file node_composite_image.cc.
References cmp_node_rlayers_out, 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 222 of file node_composite_tree.cc.
References ntreeCompositClearTags().
Referenced by ntreeCompositClearTags(), and render_endjob().
| bNodeSocket * ntreeCompositCryptomatteAddSocket | ( | bNodeTree * | ntree, |
| bNode * | node ) |
Definition at line 957 of file node_composite_cryptomatte.cc.
References BLI_assert, CMP_NODE_CRYPTOMATTE_LEGACY, NodeCryptomatte::inputs_num, blender::bke::node_add_static_socket(), ntreeCompositCryptomatteAddSocket(), PROP_NONE, SNPRINTF, SOCK_IN, and SOCK_RGBA.
Referenced by blender::ed::space_node::node_cryptomatte_add_socket_exec(), blender::nodes::node_composite_legacy_cryptomatte_cc::node_init_cryptomatte_legacy(), and ntreeCompositCryptomatteAddSocket().
| void ntreeCompositCryptomatteLayerPrefix | ( | const bNode * | node, |
| char * | r_prefix, | ||
| size_t | prefix_maxncpy ) |
Definition at line 195 of file node_composite_cryptomatte.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_layer_names_get(), BLI_assert, BLI_strncpy(), CMP_NODE_CRYPTOMATTE, cryptomatte_init_from_node(), NodeCryptomatte::layer_name, bNode::storage, and bNode::type_legacy.
Referenced by eyedropper_cryptomatte_sample_fl(), and blender::nodes::node_composite_cryptomatte_cc::CryptoMatteOperation::get_type_name().
Definition at line 969 of file node_composite_cryptomatte.cc.
References BLI_assert, CMP_NODE_CRYPTOMATTE_LEGACY, bNode::inputs, NodeCryptomatte::inputs_num, ListBase::last, blender::bke::node_remove_socket(), bNode::storage, and bNode::type_legacy.
Referenced by blender::ed::space_node::node_cryptomatte_remove_socket_exec().
| CryptomatteSession * ntreeCompositCryptomatteSession | ( | bNode * | node | ) |
Definition at line 222 of file node_composite_cryptomatte.cc.
References cryptomatte_init_from_node().
Referenced by eyedropper_init().
| void ntreeCompositCryptomatteSyncFromAdd | ( | bNode * | node | ) |
Definition at line 156 of file node_composite_cryptomatte.cc.
References NodeCryptomatte_Runtime::add, BLI_assert, CMP_NODE_CRYPTOMATTE, CMP_NODE_CRYPTOMATTE_LEGACY, cryptomatte_add(), ELEM, NodeCryptomatte::runtime, bNode::storage, bNode::type_legacy, and zero_v3().
| void ntreeCompositCryptomatteSyncFromRemove | ( | bNode * | node | ) |
Definition at line 166 of file node_composite_cryptomatte.cc.
References BLI_assert, CMP_NODE_CRYPTOMATTE, CMP_NODE_CRYPTOMATTE_LEGACY, cryptomatte_remove(), ELEM, NodeCryptomatte_Runtime::remove, NodeCryptomatte::runtime, bNode::storage, bNode::type_legacy, 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 175 of file node_composite_cryptomatte.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_layer_names_get(), BLI_addtail(), BLI_assert, BLI_freelistN(), CMP_NODE_CRYPTOMATTE, cryptomatte_init_from_node(), NodeCryptomatte_Runtime::layers, MEM_callocN(), CryptomatteLayer::name, NodeCryptomatte::runtime, bNode::storage, and bNode::type_legacy.
Referenced by blender::nodes::node_composite_cryptomatte_cc::node_update_cryptomatte().
| bNodeSocket * ntreeCompositOutputFileAddSocket | ( | bNodeTree * | ntree, |
| bNode * | node, | ||
| const char * | name, | ||
| const ImageFormatData * | im_format ) |
Definition at line 132 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, bNode::inputs, NodeImageMultiFileSocket::layer, MEM_callocN(), 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, bNode::storage, 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 171 of file node_composite_file_output.cc.
References NodeImageMultiFile::active_input, BLI_findlink(), BLI_listbase_count(), bNode::inputs, MEM_freeN(), blender::bke::node_remove_socket(), bNode::storage, 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 199 of file node_composite_file_output.cc.
References bNode::inputs, NodeImageMultiFileSocket::layer, ntreeCompositOutputFileUniqueLayer(), bNodeSocket::storage, and STRNCPY_UTF8.
| void ntreeCompositOutputFileSetPath | ( | bNode * | node, |
| bNodeSocket * | sock, | ||
| const char * | name ) |
Definition at line 192 of file node_composite_file_output.cc.
References bNode::inputs, ntreeCompositOutputFileUniquePath(), NodeImageMultiFileSocket::path, bNodeSocket::storage, and STRNCPY_UTF8.
| void ntreeCompositOutputFileUniqueLayer | ( | ListBase * | list, |
| bNodeSocket * | sock, | ||
| const char | defname[], | ||
| char | delim ) |
Definition at line 112 of file node_composite_file_output.cc.
References BLI_uniquename_cb(), 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(), 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 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().
| void register_node_type_cmp_custom_group | ( | blender::bke::bNodeType * | ntype | ) |
Definition at line 47 of file node_composite_common.cc.
References if(), blender::nodes::node_group_declare(), and register_node_type_cmp_custom_group().
Referenced by register_node_type_cmp_custom_group().
|
extern |
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().