Blender
V3.3
|
#include "DNA_ID_enums.h"
Go to the source code of this file.
Typedefs | |
typedef struct AssetTempIDConsumer | AssetTempIDConsumer |
Functions | |
AssetTempIDConsumer * | ED_asset_temp_id_consumer_create (const struct AssetHandle *handle) |
void | ED_asset_temp_id_consumer_free (AssetTempIDConsumer **consumer) |
struct ID * | ED_asset_temp_id_consumer_ensure_local_id (AssetTempIDConsumer *consumer, const struct bContext *C, const struct AssetLibraryReference *asset_library_ref, ID_Type id_type, struct Main *bmain, struct ReportList *reports) |
API to abstract away details for temporary loading of an ID from an asset. If the ID is stored in the current file (or more precisely, in the Main given when requesting an ID) no loading is performed and the ID is returned. Otherwise it's imported for temporary access using the BLO_library_temp
API.
Definition in file ED_asset_temp_id_consumer.h.
typedef struct AssetTempIDConsumer AssetTempIDConsumer |
Definition at line 1 of file ED_asset_temp_id_consumer.h.
AssetTempIDConsumer* ED_asset_temp_id_consumer_create | ( | const struct AssetHandle * | handle | ) |
Referenced by poselib_blend_init_get_action().
struct ID* ED_asset_temp_id_consumer_ensure_local_id | ( | AssetTempIDConsumer * | consumer, |
const struct bContext * | C, | ||
const struct AssetLibraryReference * | asset_library_ref, | ||
ID_Type | id_type, | ||
struct Main * | bmain, | ||
struct ReportList * | reports | ||
) |
Referenced by poselib_blend_init_get_action().
void ED_asset_temp_id_consumer_free | ( | AssetTempIDConsumer ** | consumer | ) |
Definition at line 80 of file asset_temp_id_consumer.cc.
Referenced by poselib_tempload_exit().