|
Blender V4.3
|
#include <BLO_readfile.hh>
Public Attributes | |
| char | name [64] |
| AssetMetaData * | asset_data |
| bool | free_asset_data |
| bool | no_preview_found |
Definition at line 224 of file BLO_readfile.hh.
| AssetMetaData* BLODataBlockInfo::asset_data |
Definition at line 226 of file BLO_readfile.hh.
Referenced by BLO_blendhandle_get_datablock_info(), BLO_datablock_info_free(), 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(), and blender::ed::asset::index::init_value_from_file_indexer_entry().
| bool BLODataBlockInfo::free_asset_data |
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 229 of file BLO_readfile.hh.
Referenced by BLO_blendhandle_get_datablock_info(), BLO_datablock_info_free(), blender::ed::file::indexer::file_indexer_entry_create_from_datablock_info(), filelist_readjob_list_lib_add_datablock(), and blender::ed::asset::index::init_indexer_entry_from_value().
| char BLODataBlockInfo::name[64] |
Definition at line 225 of file BLO_readfile.hh.
Referenced by BLO_blendhandle_get_datablock_info(), filelist_readjob_list_lib_add_datablock(), blender::ed::asset::index::init_indexer_entry_from_value(), and blender::ed::asset::index::init_value_from_file_indexer_entry().
| bool BLODataBlockInfo::no_preview_found |
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 236 of file BLO_readfile.hh.
Referenced by BLO_blendhandle_get_datablock_info(), and filelist_readjob_list_lib_add_datablock().