29 Speaker *speaker = id_cast<Speaker *>(
id);
36 Speaker *speaker = id_cast<Speaker *>(
id);
43 Speaker *spk = id_cast<Speaker *>(
id);
51 .id_code = Speaker::id_type,
57 .name_plural =
N_(
"speakers"),
60 .asset_type_info =
nullptr,
65 .make_local =
nullptr,
67 .foreach_cache =
nullptr,
68 .foreach_path =
nullptr,
69 .foreach_working_space_color =
nullptr,
70 .foreach_asset_weak_reference =
nullptr,
71 .owner_pointer_get =
nullptr,
74 .blend_read_data =
nullptr,
75 .blend_read_after_liblink =
nullptr,
77 .blend_read_undo_preserve =
nullptr,
79 .lib_override_apply_post =
nullptr,
#define BKE_LIB_FOREACHID_PROCESS_IDSUPER(data_, id_super_, cb_flag_)
General operations for speakers.
#define BLT_I18NCONTEXT_ID_SPEAKER
#define INIT_DEFAULT_STRUCT_AFTER(struct_dst, member)
static void speaker_blend_write(BlendWriter *writer, ID *id, const void *id_address)
void BKE_id_blend_write(BlendWriter *writer, ID *id)
BMesh const char void * data
static void speaker_init_data(ID *id)
struct Speaker * BKE_speaker_add(struct Main *bmain, const char *name)
void * BKE_id_new(Main *bmain, short type, const char *name)
static void speaker_foreach_id(ID *id, LibraryForeachIDData *data)
@ IDTYPE_FLAGS_APPEND_IS_REUSABLE
void write_id_struct(const void *id_address, const T *id, BlendStructWriterTypedFn< T > fn=nullptr)