|
Blender
V2.93
|
#include "BLI_string_utils.h"#include "BLI_utildefines.h"#include <string.h>#include "BKE_context.h"#include "RNA_access.h"#include "node_composite_util.h"#include "intern/openexr/openexr_multi.h"Go to the source code of this file.
|
static |
Definition at line 232 of file node_composite_outputFile.c.
References ListBase::first, bNode::inputs, MEM_dupallocN, bNodeSocket::next, bNodeSocket::storage, and bNode::storage.
Referenced by register_node_type_cmp_output_file().
|
static |
Definition at line 220 of file node_composite_outputFile.c.
References MEM_freeN, bNodeSocket::next, node, and bNodeSocket::storage.
Referenced by register_node_type_cmp_output_file().
|
static |
Definition at line 192 of file node_composite_outputFile.c.
References BKE_imformat_defaults(), BKE_imtype_is_movie(), BLI_strncpy(), C, CTX_data_scene(), PointerRNA::data, RenderData::im_format, ImageFormatData::imtype, MEM_callocN, node, ntree, ntreeCompositOutputFileAddSocket(), NULL, PointerRNA::owner_id, RenderData::pic, ptr, Scene::r, R_IMF_IMTYPE_OPENEXR, and scene.
Referenced by register_node_type_cmp_output_file().
| bNodeSocket* ntreeCompositOutputFileAddSocket | ( | bNodeTree * | ntree, |
| bNode * | node, | ||
| const char * | name, | ||
| ImageFormatData * | im_format | ||
| ) |
Definition at line 120 of file node_composite_outputFile.c.
References NodeImageMultiFile::active_input, BKE_imformat_defaults(), BKE_imtype_is_movie(), BLI_findindex(), BLI_strncpy_utf8(), NodeImageMultiFileSocket::format, ImageFormatData::imtype, NodeImageMultiFileSocket::layer, MEM_callocN, node, nodeAddStaticSocket(), ntree, ntreeCompositOutputFileUniqueLayer(), ntreeCompositOutputFileUniquePath(), NULL, NodeImageMultiFileSocket::path, PROP_NONE, R_IMF_IMTYPE_OPENEXR, NodeImageMultiFileSocket::save_as_render, SOCK_IN, SOCK_RGBA, bNodeSocket::storage, and NodeImageMultiFileSocket::use_node_format.
Referenced by do_versions_nodetree_multi_file_output_format_2_62_1(), init_output_file(), and node_output_file_add_socket_exec().
Definition at line 156 of file node_composite_outputFile.c.
References NodeImageMultiFile::active_input, BLI_findlink(), BLI_listbase_count(), MEM_freeN, node, nodeRemoveSocket(), ntree, and bNodeSocket::storage.
Referenced by node_output_file_remove_active_socket_exec().
| void ntreeCompositOutputFileSetLayer | ( | bNode * | node, |
| bNodeSocket * | sock, | ||
| const char * | name | ||
| ) |
Definition at line 184 of file node_composite_outputFile.c.
References BLI_strncpy_utf8(), NodeImageMultiFileSocket::layer, node, ntreeCompositOutputFileUniqueLayer(), and bNodeSocket::storage.
| void ntreeCompositOutputFileSetPath | ( | bNode * | node, |
| bNodeSocket * | sock, | ||
| const char * | name | ||
| ) |
Definition at line 177 of file node_composite_outputFile.c.
References BLI_strncpy_utf8(), node, ntreeCompositOutputFileUniquePath(), NodeImageMultiFileSocket::path, and bNodeSocket::storage.
| void ntreeCompositOutputFileUniqueLayer | ( | ListBase * | list, |
| bNodeSocket * | sock, | ||
| const char | defname[], | ||
| char | delim | ||
| ) |
Definition at line 97 of file node_composite_outputFile.c.
References BLI_uniquename_cb(), data, ELEM, NodeImageMultiFileSocket::layer, NULL, 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 56 of file node_composite_outputFile.c.
References BLI_uniquename_cb(), data, ELEM, NULL, 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 | ( | void | ) |
Definition at line 279 of file node_composite_outputFile.c.
References CMP_NODE_OUTPUT_FILE, cmp_node_type_base(), copy_output_file(), free_output_file(), init_output_file(), bNodeType::initfunc_api, NODE_CLASS_OUTPUT, NODE_PREVIEW, node_type_socket_templates(), node_type_storage(), node_type_update(), nodeRegisterType(), NULL, and update_output_file().
Referenced by registerCompositNodes().
|
static |
Definition at line 80 of file node_composite_outputFile.c.
References data, NodeImageMultiFileSocket::layer, bNodeSocket::next, bNodeSocket::storage, and STREQ.
Referenced by ntreeCompositOutputFileUniqueLayer().
|
static |
Definition at line 39 of file node_composite_outputFile.c.
References data, bNodeSocket::next, NodeImageMultiFileSocket::path, bNodeSocket::storage, and STREQ.
Referenced by ntreeCompositOutputFileUniquePath().
Definition at line 248 of file node_composite_outputFile.c.
References cmp_node_update_default(), bNodeLink::fromsock, bNodeSocket::link, bNodeSocket::next, node, nodeRemoveSocket(), ntree, NULL, ptr, RNA_enum_set(), RNA_NodeSocket, RNA_pointer_create(), bNodeSocket::storage, and bNodeSocket::type.
Referenced by register_node_type_cmp_output_file().