|
Blender V5.3
|
#include <BLO_readfile.hh>
Classes | |
| struct | Library |
Public Attributes | |
| char | name [256] = "" |
| AssetMetaData * | asset_data = nullptr |
| BLODataBlockInfo::Library | library_data = {} |
| bool | free_asset_data = false |
| bool | no_preview_found = false |
Definition at line 236 of file BLO_readfile.hh.
| AssetMetaData* blender::BLODataBlockInfo::asset_data = nullptr |
Definition at line 243 of file BLO_readfile.hh.
Referenced by blender::_bpy_ids_info(), blender::BLO_blendhandle_get_datablock_info(), blender::BLO_datablock_info_free(), blender::filelist_readjob_list_lib_add_datablock(), blender::ed::asset::index::init_indexer_entry_from_value(), blender::ed::asset::index::init_value_from_file_indexer_entries(), blender::ed::asset::index::init_value_from_file_indexer_entry(), and blender::ed::asset::index::listing_entry_from_asset_dictionary().
| bool blender::BLODataBlockInfo::free_asset_data = false |
Ownership over asset_data above can be "stolen out" of this struct, for more permanent storage. In that case, set this to false to avoid double freeing of the stolen data.
Definition at line 250 of file BLO_readfile.hh.
Referenced by blender::_bpy_ids_info(), blender::BLO_blendhandle_get_datablock_info(), blender::BLO_datablock_info_free(), blender::ed::file::indexer::file_indexer_entry_create_from_datablock_info(), blender::filelist_readjob_list_lib_add_datablock(), blender::ed::asset::index::init_indexer_entry_from_value(), and blender::ed::asset::index::listing_entry_from_asset_dictionary().
| BLODataBlockInfo::Library blender::BLODataBlockInfo::library_data = {} |
For Library IDs only: specific info, like the stored blendfile path, flags.
Definition at line 245 of file BLO_readfile.hh.
Referenced by blender::BLO_blendhandle_get_datablock_info(), and blender::make_library_info().
| char blender::BLODataBlockInfo::name[256] = "" |
Definition at line 242 of file BLO_readfile.hh.
Referenced by blender::_bpy_ids_info(), blender::BLO_blendhandle_get_datablock_info(), blender::filelist_readjob_list_lib_add_datablock(), blender::ed::asset::index::init_indexer_entry_from_value(), blender::ed::asset::index::init_value_from_file_indexer_entry(), and blender::ed::asset::index::listing_entry_from_asset_dictionary().
| bool blender::BLODataBlockInfo::no_preview_found = false |
Optimization: Tag data-blocks for which we know there is no preview. Knowing this can be used to skip the (potentially expensive) preview loading process. If this is set to true it means we looked for a preview and couldn't find one. False may mean that either no preview was found, or that it wasn't looked for in the first place.
Definition at line 257 of file BLO_readfile.hh.
Referenced by blender::BLO_blendhandle_get_datablock_info(), and blender::filelist_readjob_list_lib_add_datablock().