Blender V4.3
LightProbeGridCacheFrame Struct Reference

#include <DNA_lightprobe_types.h>

Public Attributes

int size [3]
 
int data_layout
 
int block_len
 
int block_size
 
LightProbeBlockDatablock_infos
 
LightProbeBakingData baking
 
LightProbeIrradianceData irradiance
 
LightProbeVisibilityData visibility
 
LightProbeConnectivityData connectivity
 
char _pad [4]
 
int surfels_len
 
void * surfels
 

Detailed Description

A frame worth of baked lighting data.

Definition at line 299 of file DNA_lightprobe_types.h.

Member Data Documentation

◆ _pad

char LightProbeGridCacheFrame::_pad[4]

Definition at line 319 of file DNA_lightprobe_types.h.

◆ baking

◆ block_infos

LightProbeBlockData* LightProbeGridCacheFrame::block_infos

◆ block_len

int LightProbeGridCacheFrame::block_len

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

Definition at line 306 of file DNA_lightprobe_types.h.

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

◆ block_size

int LightProbeGridCacheFrame::block_size

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

Definition at line 308 of file DNA_lightprobe_types.h.

Referenced by BKE_lightprobe_grid_cache_frame_sample_count().

◆ connectivity

◆ data_layout

int LightProbeGridCacheFrame::data_layout

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

Definition at line 303 of file DNA_lightprobe_types.h.

Referenced by BKE_lightprobe_grid_cache_frame_sample_count(), and lightprobe_grid_cache_frame_blend_read().

◆ irradiance

◆ size

◆ surfels

void* LightProbeGridCacheFrame::surfels

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

Definition at line 324 of file DNA_lightprobe_types.h.

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

◆ surfels_len

int LightProbeGridCacheFrame::surfels_len

Number of debug surfels.

Definition at line 322 of file DNA_lightprobe_types.h.

Referenced by lightprobe_grid_cache_frame_blend_read().

◆ visibility


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