|
Blender V5.0
|
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 640 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 326 of file node_composite_image.cc.
References BLI_findlink(), cmp_node_image_add_pass_output(), bNode::custom1, data, bNode::id, name, 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 645 of file node_composite_image.cc.
References cmp_node_rlayers_out, 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 258 of file node_composite_tree.cc.
References ntreeCompositClearTags().
Referenced by ntreeCompositClearTags(), and render_endjob().
| bNodeSocket * ntreeCompositCryptomatteAddSocket | ( | bNodeTree * | ntree, |
| bNode * | node ) |
Definition at line 972 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_UTF8, 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 201 of file node_composite_cryptomatte.cc.
References blender::bke::cryptomatte::BKE_cryptomatte_layer_names_get(), BLI_assert, BLI_strncpy_utf8(), 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 984 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 228 of file node_composite_cryptomatte.cc.
References cryptomatte_init_from_node().
Referenced by eyedropper_init().
| void ntreeCompositCryptomatteSyncFromAdd | ( | bNode * | node | ) |
Definition at line 162 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 172 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 181 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().
| void ntreeCompositTagNeedExec | ( | bNode * | node | ) |
Definition at line 274 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 237 of file node_composite_tree.cc.
References BKE_ntree_update(), BKE_ntree_update_tag_node_property(), 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 219 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 191 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 189 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().