Blender V5.3
blender::AssetTypeInfo Struct Reference

#include <BKE_asset.hh>

Public Attributes

PreSaveFn pre_save_fn
OnMarkAssetFn on_mark_asset_fn
OnClearAssetDataFn on_clear_asset_fn

Detailed Description

Definition at line 32 of file BKE_asset.hh.

Member Data Documentation

◆ on_clear_asset_fn

OnClearAssetDataFn blender::AssetTypeInfo::on_clear_asset_fn

Should be called whenever a local asset gets cleared of its asset data but stays available otherwise, i.e. when an asset data-block is turned back into a normal data-block.

Definition at line 43 of file BKE_asset.hh.

Referenced by blender::BKE_lib_id_clear_library_data().

◆ on_mark_asset_fn

OnMarkAssetFn blender::AssetTypeInfo::on_mark_asset_fn

Definition at line 38 of file BKE_asset.hh.

◆ pre_save_fn

PreSaveFn blender::AssetTypeInfo::pre_save_fn

For local assets (assets in the current .blend file), a callback to execute before the file is saved.

Definition at line 37 of file BKE_asset.hh.


The documentation for this struct was generated from the following file: