Blender
V3.3
|
#include <fstream>
#include <iomanip>
#include <optional>
#include "ED_asset_indexer.h"
#include "DNA_asset_types.h"
#include "DNA_userdef_types.h"
#include "BLI_fileops.h"
#include "BLI_hash.hh"
#include "BLI_linklist.h"
#include "BLI_path_util.h"
#include "BLI_serialize.hh"
#include "BLI_set.hh"
#include "BLI_string_ref.hh"
#include "BLI_uuid.h"
#include "BKE_appdir.h"
#include "BKE_asset.h"
#include "BKE_asset_catalog.hh"
#include "BKE_idprop.hh"
#include "BKE_preferences.h"
#include "CLG_log.h"
Go to the source code of this file.
Classes | |
class | blender::ed::asset::index::AbstractFile |
class | blender::ed::asset::index::BlendFile |
Reference to a blend file that can be indexed. More... | |
struct | blender::ed::asset::index::AssetEntryReader |
Single entry inside a #AssetIndexFile for reading. More... | |
struct | blender::ed::asset::index::AssetEntryWriter |
struct | blender::ed::asset::index::AssetLibraryIndex |
References the asset library directory. More... | |
struct | blender::ed::asset::index::AssetIndex |
class | blender::ed::asset::index::AssetIndexFile |
Namespaces | |
blender | |
blender::ed | |
blender::ed::asset | |
blender::ed::asset::index | |
Variables | |
static CLG_LogRef | LOG = {"ed.asset"} |
const FileIndexerType | file_indexer_asset = blender::ed::asset::index::asset_indexer() |
const FileIndexerType file_indexer_asset = blender::ed::asset::index::asset_indexer() |
File Indexer Service for indexing asset files.
Opening and parsing a large collection of asset files inside a library can take a lot of time. To reduce the time it takes the files are indexed.
BKE_appdir_folder_caches
+ asset_library_indexes/{asset_library_dir}/{asset_index_file.json}
).Definition at line 796 of file asset_indexer.cc.
Referenced by file_refresh(), and blender::ed::asset::AssetList::setup().
|
static |
Definition at line 33 of file asset_indexer.cc.
Referenced by blender::ed::asset::index::filelist_finished(), blender::ed::asset::index::read_index(), blender::ed::asset::index::AssetLibraryIndex::remove_unused_index_files(), blender::ed::asset::index::update_index(), and blender::ed::asset::index::AssetIndexFile::write_contents().