76 .name_plural =
"lightprobes",
79 .asset_type_info =
NULL,
86 .foreach_cache =
NULL,
93 .blend_read_expand =
NULL,
95 .blend_read_undo_preserve =
NULL,
97 .lib_override_apply_post =
NULL,
102 probe->
type = lightprobe_type;
104 switch (probe->
type) {
void BKE_animdata_blend_read_data(struct BlendDataReader *reader, struct AnimData *adt)
void BKE_animdata_blend_write(struct BlendWriter *writer, struct AnimData *adt)
@ IDTYPE_FLAGS_APPEND_IS_REUSABLE
void BKE_id_blend_write(struct BlendWriter *writer, struct ID *id)
void * BKE_id_new(struct Main *bmain, short type, const char *name)
#define BKE_LIB_FOREACHID_PROCESS_IDSUPER(_data, _id_super, _cb_flag)
General operations for probes.
#define BLI_assert_msg(a, msg)
#define MEMCMP_STRUCT_AFTER_IS_ZERO(struct_var, member)
#define MEMCPY_STRUCT_AFTER(struct_dst, struct_src, member)
#define BLO_read_data_address(reader, ptr_p)
#define BLO_write_id_struct(writer, struct_name, id_address, id)
#define BLO_read_id_address(reader, lib, id_ptr_p)
#define BLT_I18NCONTEXT_ID_LIGHTPROBE
Object groups, one object can be in many groups at once.
#define DNA_struct_default_get(struct_name)
@ LIGHTPROBE_SHAPE_ELIPSOID
struct LightProbe LightProbe
Object is a sort of wrapper for general info.
static void init_data(ModifierData *md)
static void lightprobe_blend_read_lib(BlendLibReader *reader, ID *id)
static void lightprobe_blend_read_data(BlendDataReader *reader, ID *id)
void BKE_lightprobe_type_set(LightProbe *probe, const short lightprobe_type)
static void lightprobe_init_data(ID *id)
static void lightprobe_blend_write(BlendWriter *writer, ID *id, const void *id_address)
void * BKE_lightprobe_add(Main *bmain, const char *name)
static void lightprobe_foreach_id(ID *id, LibraryForeachIDData *data)
struct Collection * visibility_grp