|
Blender V5.3
|
#include <common.hh>
Public Member Functions | |
| UserAssetLibraryWrapper (const bUserAssetLibrary &user_asset_library) | |
| const bUserAssetLibrary * | user_asset_library () const |
Wrapper to get the bUserAssetLibrary from the preferences (if still valid).
Definition at line 20 of file asset_system/intern/library_types/common.hh.
|
explicit |
Definition at line 17 of file asset_system/intern/library_types/common.cc.
References user_asset_library().
| const bUserAssetLibrary * blender::asset_system::UserAssetLibraryWrapper::user_asset_library | ( | ) | const |
Returns a pointer to the user's asset library entry in the preferences, or nullptr if not found (meaning it was removed/freed).
Definition at line 22 of file asset_system/intern/library_types/common.cc.
References blender::BLI_findindex(), and blender::U.
Referenced by UserAssetLibraryWrapper().