|
Blender V5.0
|
Classes | |
| class | FileOutputOperation |
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_init (const bContext *C, PointerRNA *node_pointer) |
| static void | node_free_storage (bNode *node) |
| static void | node_copy_storage (bNodeTree *, bNode *destination_node, const bNode *source_node) |
| static bool | node_insert_link (bke::NodeInsertLinkParams ¶ms) |
| static void | node_operators () |
| static Vector< path_templates::Error > | compute_image_path (const StringRefNull directory, const StringRefNull file_name, const StringRefNull file_name_suffix, const char *view, const int frame_number, const ImageFormatData &format, const Scene &scene, const bNode &node, const bool is_animation_render, char *r_image_path) |
| static void | node_layout (uiLayout *layout, bContext *, PointerRNA *node_pointer) |
| static void | format_layout (uiLayout *layout, bContext *context, PointerRNA *format_pointer, PointerRNA *node_or_item_pointer) |
| static void | output_path_layout (uiLayout *layout, const StringRefNull directory, const StringRefNull file_name, const StringRefNull file_name_suffix, const char *view, const ImageFormatData &format, const Scene &scene, const bNode &node) |
| static void | output_paths_layout (uiLayout *layout, bContext *context, const StringRefNull file_name_suffix, const bNode &node, const ImageFormatData &format) |
| static void | item_layout (uiLayout *layout, bContext *context, PointerRNA *node_pointer, PointerRNA *item_pointer, const bool is_multi_layer) |
| static void | node_layout_ex (uiLayout *layout, bContext *context, PointerRNA *node_pointer) |
| static void | node_blend_write (const bNodeTree &, const bNode &node, BlendWriter &writer) |
| static void | node_blend_read (bNodeTree &, bNode &node, BlendDataReader &reader) |
| static void | node_extra_info (NodeExtraInfoParams ¶meters) |
| static NodeOperation * | get_compositor_operation (Context &context, DNode node) |
| static void | node_register () |
|
static |
Definition at line 165 of file node_composite_file_output.cc.
References BKE_add_template_variables_for_node(), BKE_add_template_variables_for_render_path(), BKE_add_template_variables_general(), BKE_image_path_from_imformat(), BKE_main_blendfile_path_from_global(), BKE_scene_multiview_view_suffix_get(), BLI_path_append(), BLI_path_frame(), blender::StringRefNull::c_str(), FILE_MAX, bNode::id, Scene::r, R_EXTENSION, RenderData::scemode, STRNCPY(), and view.
Referenced by blender::nodes::node_composite_file_output_cc::FileOutputOperation::get_image_path(), and output_path_layout().
|
static |
Definition at line 209 of file node_composite_file_output.cc.
References uiLayout::column(), CTX_data_scene(), IFACE_, uiLayout::prop(), Scene::r, R_MULTIVIEW, RNA_boolean_get(), RNA_pointer_get(), RenderData::scemode, UI_ITEM_NONE, UI_ITEM_R_SPLIT_EMPTY_NAME, uiTemplateImageFormatViews(), uiTemplateImageSettings(), uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by item_layout(), and node_layout_ex().
|
static |
Definition at line 824 of file node_composite_file_output.cc.
Referenced by node_register().
|
static |
Definition at line 296 of file node_composite_file_output.cc.
References format_layout(), IFACE_, uiLayout::panel(), uiLayout::prop(), RNA_boolean_get(), RNA_enum_get(), RNA_pointer_get(), SOCK_VECTOR, UI_ITEM_NONE, UI_ITEM_R_SPLIT_EMPTY_NAME, uiLayout::use_property_decorate_set(), and uiLayout::use_property_split_set().
Referenced by node_layout_ex().
|
static |
Definition at line 378 of file node_composite_file_output.cc.
References BKE_image_format_blend_read_data(), blender::nodes::socket_items::blend_read_data(), BLO_read_string(), and data.
Referenced by node_register().
|
static |
Definition at line 370 of file node_composite_file_output.cc.
References BKE_image_format_blend_write(), blender::nodes::socket_items::blend_write(), BLO_write_string(), and data.
Referenced by node_register().
|
static |
Definition at line 137 of file node_composite_file_output.cc.
References BKE_image_format_copy(), BLI_strdup_null(), blender::nodes::socket_items::copy_array(), NodeCompositorFileOutput::file_name, NodeCompositorFileOutput::format, MEM_dupallocN(), and bNode::storage.
Referenced by node_register().
|
static |
Definition at line 66 of file node_composite_file_output.cc.
References b, blender::nodes::BaseSocketDeclarationBuilder::compositor_realization_mode(), NodeCompositorFileOutput::format, i, bNodeTree::id, ImageFormatData::imtype, blender::nodes::FileOutputItemsAccessor::item_srna, NodeCompositorFileOutput::items, NodeCompositorFileOutput::items_count, NodeCompositorFileOutputItem::name, node_declare(), blender::nodes::OperationDomain, R_IMF_IMTYPE_MULTILAYER, SOCK_VECTOR, blender::nodes::FileOutputItemsAccessor::socket_identifier_for_item(), blender::nodes::BaseSocketDeclarationBuilder::socket_name_ptr(), NodeCompositorFileOutputItem::socket_type, blender::nodes::BaseSocketDeclarationBuilder::structure_type(), blender::nodes::Transforms, and NodeCompositorFileOutputItem::vector_socket_dimensions.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 386 of file node_composite_file_output.cc.
References Vector< T, InlineBufferCapacity, Allocator >::append(), blender::nodes::NodeExtraInfoParams::C, CTX_wm_space_node(), blender::nodes::NodeExtraInfoRow::icon, SpaceNode::node_tree_sub_type, blender::nodes::NodeExtraInfoParams::rows, RPT_, SNODE_COMPOSITOR_SCENE, blender::nodes::NodeExtraInfoRow::text, TIP_, and blender::nodes::NodeExtraInfoRow::tooltip.
Referenced by node_register().
|
static |
Definition at line 128 of file node_composite_file_output.cc.
References BKE_image_format_free(), data, blender::nodes::socket_items::destruct_array(), MEM_freeN(), and MEM_SAFE_FREE.
Referenced by node_register().
|
static |
Definition at line 108 of file node_composite_file_output.cc.
References BKE_image_format_init(), BKE_image_format_media_type_set(), BKE_image_format_update_color_space_for_type(), BLI_strdup(), C, CTX_data_scene(), data, PointerRNA::data_as(), MEDIA_TYPE_MULTI_LAYER_IMAGE, MEM_callocN(), PointerRNA::owner_id, RenderData::pic, Scene::r, bNode::storage, and STRNCPY().
Referenced by node_register().
|
static |
Definition at line 150 of file node_composite_file_output.cc.
References params, and blender::nodes::socket_items::try_add_item_via_any_extend_socket().
Referenced by node_register().
|
static |
Definition at line 203 of file node_composite_file_output.cc.
References uiLayout::prop(), and UI_ITEM_R_SPLIT_EMPTY_NAME.
Referenced by node_layout_ex(), and node_register().
|
static |
Definition at line 328 of file node_composite_file_output.cc.
References PointerRNA::data_as(), blender::nodes::socket_items::ui::draw_active_item_props(), blender::nodes::socket_items::ui::draw_items_list_with_operators(), NodeCompositorFileOutput::format, NodeCompositorFileOutputItem::format, format_layout(), i, IFACE_, item_layout(), NodeCompositorFileOutput::items, NodeCompositorFileOutput::items_count, NodeCompositorFileOutputItem::name, node_layout(), output_paths_layout(), NodeCompositorFileOutputItem::override_node_format, PointerRNA::owner_id, uiLayout::panel(), uiLayout::prop(), R_IMF_IMTYPE_MULTILAYER, RNA_enum_get(), RNA_pointer_get(), tree, and UI_ITEM_R_EXPAND.
Referenced by node_register().
|
static |
Definition at line 156 of file node_composite_file_output.cc.
References blender::nodes::socket_items::ops::make_common_operators().
Referenced by node_register().
|
static |
Definition at line 829 of file node_composite_file_output.cc.
References blender::bke::bNodeType::blend_data_read_storage_content, blender::bke::bNodeType::blend_write_storage_content, CMP_NODE_OUTPUT_FILE, cmp_node_type_base(), blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::draw_buttons_ex, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::get_compositor_operation, get_compositor_operation(), blender::bke::bNodeType::get_extra_info, blender::bke::bNodeType::initfunc_api, blender::bke::bNodeType::insert_link, blender::bke::bNodeType::nclass, node_blend_read(), node_blend_write(), NODE_CLASS_OUTPUT, node_copy_storage(), node_declare(), node_extra_info(), node_free_storage(), node_init(), node_insert_link(), node_layout(), node_layout_ex(), node_operators(), blender::bke::node_register_type(), blender::bke::node_type_storage(), blender::bke::bNodeType::register_operators, blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
|
static |
Definition at line 238 of file node_composite_file_output.cc.
References BKE_path_template_error_to_string(), RenderData::cfra, compute_image_path(), error(), FILE_MAX, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), uiLayout::label(), Scene::r, and view.
Referenced by output_paths_layout().
|
static |
Definition at line 270 of file node_composite_file_output.cc.
References BKE_scene_multiview_is_render_view_active(), CTX_data_scene(), NodeCompositorFileOutput::directory, NodeCompositorFileOutput::file_name, LISTBASE_FOREACH, output_path_layout(), Scene::r, R_IMF_VIEWS_MULTIVIEW, R_MULTIVIEW, RenderData::scemode, view, and RenderData::views.
Referenced by node_layout_ex().