Blender
V3.3
|
#include <string.h>
#include "DNA_collection_types.h"
#include "DNA_defaults.h"
#include "DNA_lightprobe_types.h"
#include "DNA_object_types.h"
#include "BLI_utildefines.h"
#include "BKE_anim_data.h"
#include "BKE_idtype.h"
#include "BKE_lib_id.h"
#include "BKE_lib_query.h"
#include "BKE_lightprobe.h"
#include "BKE_main.h"
#include "BLT_translation.h"
#include "BLO_read_write.h"
Go to the source code of this file.
Functions | |
static void | lightprobe_init_data (ID *id) |
static void | lightprobe_foreach_id (ID *id, LibraryForeachIDData *data) |
static void | lightprobe_blend_write (BlendWriter *writer, ID *id, const void *id_address) |
static void | lightprobe_blend_read_data (BlendDataReader *reader, ID *id) |
static void | lightprobe_blend_read_lib (BlendLibReader *reader, ID *id) |
void | BKE_lightprobe_type_set (LightProbe *probe, const short lightprobe_type) |
void * | BKE_lightprobe_add (Main *bmain, const char *name) |
Variables | |
IDTypeInfo | IDType_ID_LP |
Definition at line 124 of file lightprobe.c.
References BKE_id_new(), and ID_LP.
Referenced by BKE_object_obdata_add_from_type().
void BKE_lightprobe_type_set | ( | LightProbe * | probe, |
const short | lightprobe_type | ||
) |
Definition at line 100 of file lightprobe.c.
References LightProbe::attenuation_type, BLI_assert_msg, LightProbe::clipsta, LightProbe::distinf, LightProbe::falloff, LIGHTPROBE_SHAPE_ELIPSOID, LIGHTPROBE_TYPE_CUBE, LIGHTPROBE_TYPE_GRID, LIGHTPROBE_TYPE_PLANAR, and LightProbe::type.
Referenced by lightprobe_add_exec().
|
static |
Definition at line 57 of file lightprobe.c.
References LightProbe::adt, BKE_animdata_blend_read_data(), and BLO_read_data_address.
|
static |
Definition at line 64 of file lightprobe.c.
References BLO_read_id_address, LightProbe::id, ID::lib, and LightProbe::visibility_grp.
|
static |
Definition at line 44 of file lightprobe.c.
References LightProbe::adt, BKE_animdata_blend_write(), BKE_id_blend_write(), BLO_write_id_struct, and LightProbe::id.
|
static |
Definition at line 36 of file lightprobe.c.
References BKE_LIB_FOREACHID_PROCESS_IDSUPER, data, IDWALK_CB_NOP, IDWALK_CB_USER, LightProbe::image, and LightProbe::visibility_grp.
Definition at line 28 of file lightprobe.c.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
IDTypeInfo IDType_ID_LP |
Definition at line 70 of file lightprobe.c.