Blender  V3.3
ED_asset_list.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
7 #pragma once
8 
9 #include <string>
10 
11 #include "BLI_function_ref.hh"
12 
13 struct AssetHandle;
15 struct FileDirEntry;
16 struct bContext;
17 
18 std::string ED_assetlist_asset_filepath_get(const bContext *C,
19  const AssetLibraryReference &library_reference,
20  const AssetHandle &asset_handle);
21 
22 /* Can return false to stop iterating. */
24 void ED_assetlist_iterate(const AssetLibraryReference &library_reference, AssetListIterFn fn);
void ED_assetlist_iterate(const AssetLibraryReference &library_reference, AssetListIterFn fn)
Definition: asset_list.cc:447
std::string ED_assetlist_asset_filepath_get(const bContext *C, const AssetLibraryReference &library_reference, const AssetHandle &asset_handle)
Definition: asset_list.cc:472
#define C
Definition: RandGen.cpp:25