Blender  V3.3
ED_asset_handle.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
13 #pragma once
14 
15 #include "DNA_ID_enums.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 struct AssetHandle;
23 struct bContext;
24 
25 const char *ED_asset_handle_get_name(const struct AssetHandle *asset);
27 struct ID *ED_asset_handle_get_local_id(const struct AssetHandle *asset);
31  const struct AssetLibraryReference *asset_library_ref,
32  const struct AssetHandle *asset,
33  char r_full_lib_path[]);
34 
35 #ifdef __cplusplus
36 }
37 #endif
Enumerations for DNA_ID.h.
ID_Type
Definition: DNA_ID_enums.h:44
struct ID * ED_asset_handle_get_local_id(const struct AssetHandle *asset)
ID_Type ED_asset_handle_get_id_type(const struct AssetHandle *asset)
const char * ED_asset_handle_get_name(const struct AssetHandle *asset)
struct AssetMetaData * ED_asset_handle_get_metadata(const struct AssetHandle *asset)
void ED_asset_handle_get_full_library_path(const struct bContext *C, const struct AssetLibraryReference *asset_library_ref, const struct AssetHandle *asset, char r_full_lib_path[])
int ED_asset_handle_get_preview_icon_id(const struct AssetHandle *asset)
#define C
Definition: RandGen.cpp:25
The meta-data of an asset. By creating and giving this for a data-block (ID.asset_data),...
Definition: DNA_ID.h:368