Blender V4.3
BKE_asset_edit.hh File Reference
#include <optional>
#include <string>
#include "BLI_string_ref.hh"
#include "DNA_ID_enums.h"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::bke
 

Functions

IDblender::bke::asset_edit_id_from_weak_reference (Main &global_main, ID_Type id_type, const AssetWeakReference &weak_ref)
 
std::optional< AssetWeakReferenceblender::bke::asset_edit_weak_reference_from_id (const ID &id)
 
bool blender::bke::asset_edit_id_is_editable (const ID &id)
 
bool blender::bke::asset_edit_id_is_writable (const ID &id)
 
std::optional< std::string > blender::bke::asset_edit_id_save_as (Main &global_main, const ID &id, StringRefNull name, const bUserAssetLibrary &user_library, AssetWeakReference &r_weak_ref, ReportList &reports)
 
bool blender::bke::asset_edit_id_save (Main &global_main, const ID &id, ReportList &reports)
 
IDblender::bke::asset_edit_id_revert (Main &global_main, ID &id, ReportList &reports)
 
bool blender::bke::asset_edit_id_delete (Main &global_main, ID &id, ReportList &reports)