46 *r_full_lib_path =
'\0';
49 if (asset_path.empty()) {
external readfile function prototypes.
bool BLO_library_path_explode(const char *path, char *r_dir, char **r_group, char **r_name)
#define FILE_MAX_LIBEXTRA
std::string ED_assetlist_asset_filepath_get(const bContext *C, const AssetLibraryReference &library_reference, const AssetHandle &asset_handle)
void ED_asset_handle_get_full_library_path(const bContext *C, const AssetLibraryReference *asset_library_ref, const AssetHandle *asset, char r_full_lib_path[FILE_MAX_LIBEXTRA])
AssetMetaData * ED_asset_handle_get_metadata(const AssetHandle *asset)
int ED_asset_handle_get_preview_icon_id(const AssetHandle *asset)
const char * ED_asset_handle_get_name(const AssetHandle *asset)
ID * ED_asset_handle_get_local_id(const AssetHandle *asset)
ID_Type ED_asset_handle_get_id_type(const AssetHandle *asset)
const struct FileDirEntry * file_data
struct AssetMetaData * asset_data