Blender V4.3
BKE_lightprobe.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16struct LightProbe;
17struct Main;
18struct BlendWriter;
19struct BlendDataReader;
22struct Object;
23
24void BKE_lightprobe_type_set(struct LightProbe *probe, short lightprobe_type);
25void *BKE_lightprobe_add(struct Main *bmain, const char *name);
26
28 struct LightProbeObjectCache *cache);
29
31 struct LightProbeObjectCache *cache);
32
37
43
48
53void BKE_lightprobe_cache_create(struct Object *object);
54
60
64void BKE_lightprobe_cache_free(struct Object *object);
65
71
72#ifdef __cplusplus
73}
74#endif
void BKE_lightprobe_cache_free(struct Object *object)
struct LightProbeGridCacheFrame * BKE_lightprobe_grid_cache_frame_create(void)
void BKE_lightprobe_cache_blend_read(struct BlendDataReader *reader, struct LightProbeObjectCache *cache)
int64_t BKE_lightprobe_grid_cache_frame_sample_count(const struct LightProbeGridCacheFrame *cache)
void BKE_lightprobe_cache_blend_write(struct BlendWriter *writer, struct LightProbeObjectCache *cache)
void * BKE_lightprobe_add(struct Main *bmain, const char *name)
void BKE_lightprobe_cache_create(struct Object *object)
void BKE_lightprobe_type_set(struct LightProbe *probe, short lightprobe_type)
Definition lightprobe.cc:83
LightProbeGridCacheFrame * BKE_lightprobe_grid_cache_frame_copy(LightProbeGridCacheFrame *src)
void BKE_lightprobe_grid_cache_frame_free(struct LightProbeGridCacheFrame *cache)
LightProbeObjectCache * BKE_lightprobe_cache_copy(LightProbeObjectCache *src_cache)
__int64 int64_t
Definition stdint.h:89