|
Blender V4.3
|
#include <cstring>#include "BLI_assert.h"#include "BLI_fileops.h"#include "BLI_index_range.hh"#include "BLI_math_vector.h"#include "BLI_path_utils.hh"#include "BLI_string.h"#include "BLI_string_utf8.h"#include "BLI_string_utils.hh"#include "BLI_task.hh"#include "BLI_utildefines.h"#include "MEM_guardedalloc.h"#include "DNA_node_types.h"#include "DNA_scene_types.h"#include "BKE_context.hh"#include "BKE_cryptomatte.hh"#include "BKE_image.hh"#include "BKE_image_format.hh"#include "BKE_main.hh"#include "BKE_node_tree_update.hh"#include "BKE_scene.hh"#include "RNA_access.hh"#include "RNA_prototypes.hh"#include "UI_interface.hh"#include "UI_resources.hh"#include "WM_api.hh"#include "IMB_imbuf.hh"#include "IMB_imbuf_types.hh"#include "IMB_openexr.hh"#include "GPU_state.hh"#include "GPU_texture.hh"#include "COM_node_operation.hh"#include "NOD_socket_search_link.hh"#include "node_composite_util.hh"Go to the source code of this file.
Classes | |
| class | blender::nodes::node_composite_file_output_cc::FileOutputOperation |
Namespaces | |
| namespace | blender |
| namespace | blender::nodes |
| namespace | blender::nodes::node_composite_file_output_cc |
| 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 register_node_type_cmp_output_file | ( | ) |
Definition at line 901 of file node_composite_file_output.cc.
References cmp_node_type_base(), blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::draw_buttons_ex, blender::bke::bNodeType::flag, blender::bke::bNodeType::get_compositor_operation, blender::bke::bNodeType::initfunc_api, NODE_CLASS_OUTPUT, NODE_PREVIEW, blender::bke::node_register_type(), blender::bke::node_type_storage(), and blender::bke::bNodeType::updatefunc.
Referenced by register_composite_nodes().
|
static |
Definition at line 101 of file node_composite_file_output.cc.
References NodeImageMultiFileSocket::layer, LISTBASE_FOREACH, and STREQ.
Referenced by ntreeCompositOutputFileUniqueLayer().
|
static |
Definition at line 59 of file node_composite_file_output.cc.
References LISTBASE_FOREACH, NodeImageMultiFileSocket::path, and STREQ.
Referenced by ntreeCompositOutputFileUniquePath().