Blender
V3.3
|
#include <DNA_asset_types.h>
Public Attributes | |
short | type |
char | _pad1 [2] |
int | custom_library_index |
Information to identify a asset library. May be either one of the predefined types (current 'Main', builtin library, project library), or a custom type as defined in the Preferences.
If the type is set to ASSET_LIBRARY_CUSTOM, custom_library_index
must be set to identify the custom library. Otherwise it is not used.
Definition at line 105 of file DNA_asset_types.h.
char AssetLibraryReference::_pad1[2] |
Definition at line 107 of file DNA_asset_types.h.
int AssetLibraryReference::custom_library_index |
If showing a custom asset library (ASSET_LIBRARY_CUSTOM), this is the index of the bUserAssetLibrary within UserDef.asset_libraries. Should be ignored otherwise (but better set to -1 then, for sanity and debugging).
Definition at line 113 of file DNA_asset_types.h.
Referenced by ED_asset_library_reference_to_rna_enum_itemf(), filelist_compare_asset_libraries(), fileselect_ensure_updated_asset_params(), blender::ed::asset::AssetLibraryReferenceWrapper::hash(), selected_asset_library(), and blender::ed::asset::AssetList::setup().
short AssetLibraryReference::type |
Definition at line 106 of file DNA_asset_types.h.
Referenced by ED_asset_library_reference_to_rna_enum_itemf(), ED_fileselect_is_local_asset_library(), file_draw_hint_if_invalid(), filelist_compare_asset_libraries(), fileselect_ensure_updated_asset_params(), blender::ed::asset::AssetLibraryReferenceWrapper::hash(), blender::ed::asset::AssetList::setup(), and uiTemplateAssetView().