|
Blender V5.0
|
#include <DNA_ID.h>
Public Attributes | |
| ID | id |
| char | filepath [1024] |
| uint16_t | flag |
| char | _pad [6] |
| struct Library * | archive_parent_library |
| struct PackedFile * | packedfile |
| LibraryRuntimeHandle * | runtime |
| void * | _pad2 |
| struct Library* Library::archive_parent_library |
For archive library only (LIBRARY_FLAG_IS_ARCHIVE): The main library owning it.
archive_parent_library and packedfile should never be both non-null in a same Library ID.
Definition at line 563 of file DNA_ID.h.
Referenced by add_archive_library(), blendfile_relocate_postprocess_cleanup(), blo_find_main_for_library_and_idname(), blender::bke::library::ensure_archive_library(), and blender::bke::library::pack_linked_id_hierarchy().
| char Library::filepath[1024] |
Path name used for reading, can be relative and edited in the outliner.
Definition at line 552 of file DNA_ID.h.
Referenced by add_archive_library(), BKE_packedfile_id_unpack(), BLO_main_validate_libraries(), file_read_reports_finalize(), foreach_id_file_path_map(), foreach_libblock_append_ensure_reusable_local_id_callback(), Freestyle::BlenderFileLoader::insertShapeNode(), blender::ed::object::is_smooth_by_angle_modifier(), lib_override_resync_tagging_finalize_recurse(), lib_override_sort_libraries_func(), library_link_end(), blender::workbench::Material::Material(), object_blend_read_after_liblink(), blender::ed::outliner::outliner_buttons(), read_libblock_undo_restore_linked(), read_libraries(), read_library_file_data(), RNA_path_full_ID_py(), scene_undo_depsgraph_gen_key(), blender::bke::tests::TEST_F(), blender::ed::outliner::TreeElementIDLibrary::TreeElementIDLibrary(), ui_tooltip_data_from_button_or_extra_icon(), and ui_tooltip_data_from_search_item_tooltip_data().
| uint16_t Library::flag |
Flags defining specific characteristics of a library. See LibraryFlag.
Definition at line 555 of file DNA_ID.h.
Referenced by add_archive_library(), blendfile_relocate_postprocess_cleanup(), blo_add_main_for_library(), blo_find_main_for_library_and_idname(), blo_read_file_internal(), direct_link_id_common(), direct_link_library(), blender::bke::library::ensure_archive_library(), blender::ed::space_node::NodeClipboard::paste_validate_id_references(), read_libblock_undo_restore_at_old_address(), read_libraries(), and write_libraries().
| ID Library::id |
Definition at line 550 of file DNA_ID.h.
Referenced by add_archive_library(), blendfile_relocate_postprocess_cleanup(), blo_add_main_for_library(), blo_find_main_for_library_and_idname(), BLO_main_validate_libraries(), do_versions_after_linking_280(), blender::bke::library::ensure_archive_library(), blender::compositor::CachedImageContainer::get(), blender::compositor::KeyingScreenContainer::get(), blender::ed::outliner::TreeElementIDLibrary::get_warning(), id_delete(), blender::ed::outliner::id_override_library_create_hierarchy_pre_process(), read_libblock_undo_restore_linked(), read_libraries(), read_library_file_data(), read_undo_move_libmain_data(), reuse_bmain_data_dependencies_new_library_get(), blender::animrig::tests::TEST_F(), ui_tooltip_data_from_search_item_tooltip_data(), and write_libraries().
| struct PackedFile* Library::packedfile |
Packed blendfile of the library, nullptr if not packed.
archive_parent_library and packedfile should never be both non-null in a same Library ID.
Definition at line 572 of file DNA_ID.h.
Referenced by BKE_packedfile_id_check(), library_copy_data(), read_library_file_data(), and write_libraries().
| LibraryRuntimeHandle* Library::runtime |
Runtime only data, never written in blendfile.
Typically allocated when creating a new Library or reading it from a blendfile.
Definition at line 579 of file DNA_ID.h.
Referenced by add_archive_library(), are_ids_from_different_mains_matching(), blender::bke::asset_link_id(), BKE_libblock_alloc_in_lib(), BKE_libblock_find_name_and_library_filepath(), BKE_library_main_rebuild_hierarchy(), BKE_main_merge(), blendfile_library_relocate_id_remap_finalize(), blo_add_main_for_library(), blo_find_main_for_library_and_idname(), blo_join_main(), BLO_main_validate_libraries(), blo_read_file_internal(), change_ID_link_filedata_get(), check_missing_files_foreach_path_cb(), blender::ed::space_node::NodeClipboard::copy_add_node(), direct_link_library(), blender::bke::library::ensure_archive_library(), expand_doit_library(), blender::ed::outliner::TreeElementIDLibrary::get_warning(), image_abs_path(), image_file_browse_exec(), image_file_browse_invoke(), image_open_exec(), IMB_colormanagement_working_space_convert(), lib_override_library_main_resync_on_library_indirect_level(), lib_override_resync_tagging_finalize_recurse(), lib_override_sort_libraries_func(), library_copy_data(), library_link_begin(), library_link_end(), main_merge_add_id_to_move(), read_id_in_lib(), read_library_file_data(), read_library_linked_id(), read_library_linked_ids(), read_undo_move_libmain_data(), rebuild_hierarchy_best_parent_find(), reuse_bmain_data_dependencies_new_library_get(), reuse_editable_asset_bmain_data_for_blendfile(), rna_property_override_check_resync(), setup_app_data(), blender::bke::tests::TEST_F(), undosys_id_ref_store(), wm_id_linked_relocate_exec(), and write_libraries().