Blender  V3.3
Functions
asset_handle.cc File Reference
#include <string>
#include "DNA_space_types.h"
#include "BLO_readfile.h"
#include "ED_asset_handle.h"
#include "ED_asset_list.hh"

Go to the source code of this file.

Functions

const char * ED_asset_handle_get_name (const AssetHandle *asset)
 
AssetMetaDataED_asset_handle_get_metadata (const AssetHandle *asset)
 
IDED_asset_handle_get_local_id (const AssetHandle *asset)
 
ID_Type ED_asset_handle_get_id_type (const AssetHandle *asset)
 
int ED_asset_handle_get_preview_icon_id (const AssetHandle *asset)
 
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])
 

Function Documentation

◆ ED_asset_handle_get_full_library_path()

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] 
)

Definition at line 41 of file asset_handle.cc.

References BLO_library_path_explode(), C, and ED_assetlist_asset_filepath_get().

◆ ED_asset_handle_get_id_type()

ID_Type ED_asset_handle_get_id_type ( const AssetHandle asset)

Definition at line 31 of file asset_handle.cc.

References FileDirEntry::blentype, and AssetHandle::file_data.

◆ ED_asset_handle_get_local_id()

ID* ED_asset_handle_get_local_id ( const AssetHandle asset)

Definition at line 26 of file asset_handle.cc.

References AssetHandle::file_data, and FileDirEntry::id.

◆ ED_asset_handle_get_metadata()

AssetMetaData* ED_asset_handle_get_metadata ( const AssetHandle asset)

Definition at line 21 of file asset_handle.cc.

References FileDirEntry::asset_data, and AssetHandle::file_data.

◆ ED_asset_handle_get_name()

const char* ED_asset_handle_get_name ( const AssetHandle asset)

Definition at line 16 of file asset_handle.cc.

References AssetHandle::file_data, and FileDirEntry::name.

◆ ED_asset_handle_get_preview_icon_id()

int ED_asset_handle_get_preview_icon_id ( const AssetHandle asset)

Definition at line 36 of file asset_handle.cc.

References AssetHandle::file_data, and FileDirEntry::preview_icon_id.