Blender  V3.3
Public Attributes | List of all members
Library Struct Reference

#include <DNA_ID.h>

Public Attributes

ID id
 
struct FileDatafiledata
 
char filepath [1024]
 
char filepath_abs [1024]
 
struct Libraryparent
 
struct PackedFilepackedfile
 
ushort tag
 
char _pad_0 [6]
 
int temp_index
 
short versionfile
 
short subversionfile
 
struct Library_Runtime runtime
 

Detailed Description

For each library file used, a Library struct is added to Main WARNING: readfile.c, expand_doit() reads this struct without DNA check!

Definition at line 457 of file DNA_ID.h.

Member Data Documentation

◆ _pad_0

char Library::_pad_0[6]

Definition at line 479 of file DNA_ID.h.

◆ filedata

struct FileData* Library::filedata

Definition at line 459 of file DNA_ID.h.

Referenced by read_library_file_data().

◆ filepath

char Library::filepath[1024]

◆ filepath_abs

char Library::filepath_abs[1024]

Run-time only, absolute file-path (set on read). This is only for convenience, filepath is the real path used on file read but in some cases its useful to access the absolute one.

Use BKE_library_filepath_set() rather than setting filepath directly and it will be kept in sync - campbell

Definition at line 471 of file DNA_ID.h.

Referenced by blo_find_main(), BLO_main_validate_libraries(), direct_link_library(), expand_doit_library(), id_us_ensure_real(), id_us_min(), library_link_end(), read_library_file_data(), and read_library_linked_id().

◆ id

ID Library::id

◆ packedfile

struct PackedFile* Library::packedfile

Definition at line 476 of file DNA_ID.h.

Referenced by BKE_packedfile_id_check(), and read_library_file_data().

◆ parent

struct Library* Library::parent

Set for indirectly linked libs, used in the outliner and while reading.

Definition at line 474 of file DNA_ID.h.

Referenced by blendfile_library_relocate_remap(), do_item_rename(), expand_doit_library(), and greasepencil_blend_read_lib().

◆ runtime

struct Library_Runtime Library::runtime

Definition at line 484 of file DNA_ID.h.

Referenced by BKE_libblock_alloc(), and get_namemap_for().

◆ subversionfile

short Library::subversionfile

Definition at line 484 of file DNA_ID.h.

Referenced by read_library_file_data().

◆ tag

ushort Library::tag

◆ temp_index

int Library::temp_index

Temp data needed by read/write code, and lib-override recursive re-synchronized.

Definition at line 482 of file DNA_ID.h.

Referenced by lib_override_library_main_resync_on_library_indirect_level(), lib_override_resync_tagging_finalize_recurse(), lib_override_sort_libraries_func(), and split_libdata().

◆ versionfile

short Library::versionfile

See BLENDER_FILE_VERSION, BLENDER_FILE_SUBVERSION, needed for do_versions.

Definition at line 484 of file DNA_ID.h.

Referenced by read_library_file_data().


The documentation for this struct was generated from the following file: