Blender  V3.3
BKE_asset_library.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 struct Main;
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
16 typedef struct AssetLibrary AssetLibrary;
17 
25 struct AssetLibrary *BKE_asset_library_load(const char *library_path);
26 
49  const char *input_path, char r_library_path[768 /* FILE_MAXDIR */]);
60  const struct Main *bmain, char r_library_path[768 /* FILE_MAXDIR */]);
61 
64  struct AssetMetaData *asset_data);
65 
68 
69 #ifdef __cplusplus
70 }
71 #endif
bool BKE_asset_library_find_suitable_root_path_from_path(const char *input_path, char r_library_path[768])
bool BKE_asset_library_has_any_unsaved_catalogs(void)
struct AssetLibrary AssetLibrary
struct AssetLibrary * BKE_asset_library_load(const char *library_path)
void BKE_asset_library_refresh_catalog_simplename(struct AssetLibrary *asset_library, struct AssetMetaData *asset_data)
bool BKE_asset_library_find_suitable_root_path_from_main(const struct Main *bmain, char r_library_path[768])
The meta-data of an asset. By creating and giving this for a data-block (ID.asset_data),...
Definition: BKE_main.h:121