Blender V5.0
blender::bke::library::LibraryRuntime Struct Reference

#include <BKE_library.hh>

Public Attributes

UniqueName_Mapname_map = nullptr
FileDatafiledata = nullptr
bool is_filedata_owner = false
char filepath_abs [1024] = ""
Libraryparent = nullptr
blender::Vector< Library * > archived_libraries = {}
ushort tag = 0
int temp_index = 0
short versionfile = 0
short subversionfile = 0
MainColorspace colorspace

Detailed Description

Definition at line 27 of file BKE_library.hh.

Member Data Documentation

◆ archived_libraries

blender::Vector<Library *> blender::bke::library::LibraryRuntime::archived_libraries = {}

Helper listing all archived libraries 'versions' of this library. Should only contain something if this library is a regular 'real' blendfile library.

Definition at line 62 of file BKE_library.hh.

◆ colorspace

MainColorspace blender::bke::library::LibraryRuntime::colorspace

Definition at line 75 of file BKE_library.hh.

◆ filedata

FileData* blender::bke::library::LibraryRuntime::filedata = nullptr

Filedata (i.e. opened blendfile) source of this library data.

Note
: This is not always matching the library's blendfile path. E.g. for archive packed libraries, this will be the filedata of the packing blendfile, not of the reference/source library.

Definition at line 38 of file BKE_library.hh.

◆ filepath_abs

char blender::bke::library::LibraryRuntime::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 53 of file BKE_library.hh.

◆ is_filedata_owner

bool blender::bke::library::LibraryRuntime::is_filedata_owner = false

Whether this library is owning its filedata pointer (and therefore should take care of releasing it as part of the readfile process).

Definition at line 43 of file BKE_library.hh.

◆ name_map

UniqueName_Map* blender::bke::library::LibraryRuntime::name_map = nullptr

Used for efficient calculations of unique names.

Definition at line 29 of file BKE_library.hh.

◆ parent

Library* blender::bke::library::LibraryRuntime::parent = nullptr

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

Definition at line 56 of file BKE_library.hh.

◆ subversionfile

short blender::bke::library::LibraryRuntime::subversionfile = 0

Definition at line 72 of file BKE_library.hh.

◆ tag

ushort blender::bke::library::LibraryRuntime::tag = 0

eLibrary_Tag.

Definition at line 65 of file BKE_library.hh.

◆ temp_index

int blender::bke::library::LibraryRuntime::temp_index = 0

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

Definition at line 68 of file BKE_library.hh.

◆ versionfile

short blender::bke::library::LibraryRuntime::versionfile = 0

See BLENDER_FILE_VERSION, BLENDER_FILE_SUBVERSION, needed for do_versions.

Definition at line 71 of file BKE_library.hh.


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