Blender V5.3
blender::LightProbeGridCacheFrame Struct Reference

#include <DNA_lightprobe_types.h>

Public Attributes

int size [3] = {}
eLightProbeGridCacheLayout data_layout = LIGHTPROBE_CACHE_UNIFORM_GRID
int block_len = 0
int block_size = 0
LightProbeBlockData * block_infos = nullptr
LightProbeBakingData baking
LightProbeIrradianceData irradiance
LightProbeVisibilityData visibility
LightProbeConnectivityData connectivity
char _pad [4] = {}
int surfels_len = 0
void * surfels = nullptr

Detailed Description

A frame worth of baked lighting data.

Definition at line 330 of file DNA_lightprobe_types.h.

Member Data Documentation

◆ _pad

char blender::LightProbeGridCacheFrame::_pad[4] = {}

Definition at line 350 of file DNA_lightprobe_types.h.

◆ baking

◆ block_infos

LightProbeBlockData* blender::LightProbeGridCacheFrame::block_infos = nullptr

◆ block_len

int blender::LightProbeGridCacheFrame::block_len = 0

Sparse or adaptive layout only: number of blocks inside data arrays.

Definition at line 337 of file DNA_lightprobe_types.h.

Referenced by blender::BKE_lightprobe_grid_cache_frame_sample_count(), blender::lightprobe_grid_cache_frame_blend_read(), and blender::lightprobe_grid_cache_frame_blend_write().

◆ block_size

int blender::LightProbeGridCacheFrame::block_size = 0

Sparse or adaptive layout only: size of a block in samples. All 3 dimensions are equal.

Definition at line 339 of file DNA_lightprobe_types.h.

Referenced by blender::BKE_lightprobe_grid_cache_frame_sample_count().

◆ connectivity

◆ data_layout

eLightProbeGridCacheLayout blender::LightProbeGridCacheFrame::data_layout = LIGHTPROBE_CACHE_UNIFORM_GRID

Spatial layout type of the data stored inside the data arrays.

Definition at line 334 of file DNA_lightprobe_types.h.

Referenced by blender::BKE_lightprobe_grid_cache_frame_sample_count(), and blender::lightprobe_grid_cache_frame_blend_read().

◆ irradiance

◆ size

int blender::LightProbeGridCacheFrame::size[3] = {}

◆ surfels

void* blender::LightProbeGridCacheFrame::surfels = nullptr

Debug surfels used to visualize the baking process. Not stored in file.

Definition at line 355 of file DNA_lightprobe_types.h.

Referenced by blender::BKE_lightprobe_grid_cache_frame_copy(), blender::BKE_lightprobe_grid_cache_frame_free(), and blender::lightprobe_grid_cache_frame_blend_read().

◆ surfels_len

int blender::LightProbeGridCacheFrame::surfels_len = 0

Number of debug surfels.

Definition at line 353 of file DNA_lightprobe_types.h.

Referenced by blender::lightprobe_grid_cache_frame_blend_read().

◆ visibility


The documentation for this struct was generated from the following file: