Blender V5.0
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
11
12#include "BLI_sys_types.h"
13
14struct LightProbe;
15struct Main;
16struct BlendWriter;
17struct BlendDataReader;
20struct Object;
21
22void BKE_lightprobe_type_set(struct LightProbe *probe, short lightprobe_type);
23struct LightProbe *BKE_lightprobe_add(struct Main *bmain, const char *name);
24
26 struct LightProbeObjectCache *cache);
27
29 struct LightProbeObjectCache *cache);
30
35
41
46
51void BKE_lightprobe_cache_create(struct Object *object);
52
58
62void BKE_lightprobe_cache_free(struct Object *object);
63
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)
struct LightProbe * 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)
long long int int64_t
const char * name